Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002277/0.002277, allocations: 213 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.345/3.345, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 70.31 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4382, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1851/0.6232, allocations: 138.5 MB / 1.499 GB, free: 3.031 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03027/0.6535, allocations: 19.72 MB / 1.518 GB, free: 15.26 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/0.6562, allocations: 71.44 kB / 1.518 GB, free: 15.19 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.6581, allocations: 1.173 MB / 1.519 GB, free: 14.01 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.66, allocations: 0.9068 MB / 1.52 GB, free: 13.1 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.6611, allocations: 386.9 kB / 1.52 GB, free: 12.72 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00168/0.6628, allocations: 1.274 MB / 1.522 GB, free: 11.44 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007978/0.6636, allocations: 0.5352 MB / 1.522 GB, free: 10.9 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008188/0.6644, allocations: 0.5763 MB / 1.523 GB, free: 10.32 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.6657, allocations: 0.98 MB / 1.524 GB, free: 9.34 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.6658, allocations: 68 kB / 1.524 GB, free: 9.273 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.6661, allocations: 108 kB / 1.524 GB, free: 9.168 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003194/0.6664, allocations: 328.6 kB / 1.524 GB, free: 8.848 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004203/0.6669, allocations: 389.5 kB / 1.525 GB, free: 8.465 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.6683, allocations: 1.229 MB / 1.526 GB, free: 7.23 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.6683, allocations: 0 / 1.526 GB, free: 7.23 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6683, allocations: 0 / 1.526 GB, free: 7.23 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.6683, allocations: 11.88 kB / 1.526 GB, free: 7.219 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002618/0.6709, allocations: 1.499 MB / 1.527 GB, free: 5.684 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.671, allocations: 15.97 kB / 1.527 GB, free: 5.668 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.6711, allocations: 86.7 kB / 1.527 GB, free: 5.574 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.6713, allocations: 148 kB / 1.527 GB, free: 5.43 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.6723, allocations: 0.6062 MB / 1.528 GB, free: 4.781 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.6725, allocations: 100.4 kB / 1.528 GB, free: 4.672 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.02e-05/0.6726, allocations: 44 kB / 1.528 GB, free: 4.629 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.6736, allocations: 0.5262 MB / 1.529 GB, free: 4.094 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.6736, allocations: 0 / 1.529 GB, free: 4.094 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.6737, allocations: 16 kB / 1.529 GB, free: 4.078 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.6737, allocations: 12 kB / 1.529 GB, free: 4.066 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009001/0.6746, allocations: 419.7 kB / 1.529 GB, free: 3.652 MB / 1.217 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/0.6783, allocations: 1.848 MB / 1.531 GB, free: 1.762 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.6794, allocations: 419.6 kB / 1.531 GB, free: 1.34 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007152/0.6802, allocations: 282.4 kB / 1.532 GB, free: 1.062 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.6802, allocations: 4.328 kB / 1.532 GB, free: 1.059 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006425/0.6808, allocations: 296.8 kB / 1.532 GB, free: 0.7578 MB / 1.217 GB Notification: Performance of pre-optimization done (n=44): time 2.766e-06/0.6808, allocations: 0 / 1.532 GB, free: 0.7578 MB / 1.217 GB Notification: Performance of matching and sorting (n=44): time 0.002754/0.6836, allocations: 1.002 MB / 1.533 GB, free: 15.74 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.6836, allocations: 63.34 kB / 1.533 GB, free: 15.67 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.6858, allocations: 1.796 MB / 1.535 GB, free: 13.86 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.6859, allocations: 37.64 kB / 1.535 GB, free: 13.82 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000519/0.6864, allocations: 0.5294 MB / 1.535 GB, free: 13.29 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.6865, allocations: 154.7 kB / 1.535 GB, free: 13.13 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.6867, allocations: 98.34 kB / 1.535 GB, free: 13.03 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6869, allocations: 330 kB / 1.536 GB, free: 12.7 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005348/0.6874, allocations: 217.2 kB / 1.536 GB, free: 12.49 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/0.688, allocations: 340.1 kB / 1.536 GB, free: 12.11 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.6891, allocations: 0.5285 MB / 1.537 GB, free: 11.53 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6891, allocations: 0 / 1.537 GB, free: 11.53 MB / 1.232 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001736/0.6908, allocations: 0.8199 MB / 1.538 GB, free: 10.7 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.6909, allocations: 4 kB / 1.538 GB, free: 10.7 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.6909, allocations: 4 kB / 1.538 GB, free: 10.7 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004595/0.6913, allocations: 143.1 kB / 1.538 GB, free: 10.55 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.6917, allocations: 99.81 kB / 1.538 GB, free: 10.46 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/0.695, allocations: 2.482 MB / 1.54 GB, free: 7.871 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.6955, allocations: 79.58 kB / 1.54 GB, free: 7.793 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.6955, allocations: 20 kB / 1.54 GB, free: 7.773 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005825/0.6961, allocations: 387.4 kB / 1.541 GB, free: 7.387 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.6963, allocations: 135 kB / 1.541 GB, free: 7.254 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.6978, allocations: 0.7167 MB / 1.542 GB, free: 6.52 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.6978, allocations: 7.984 kB / 1.542 GB, free: 6.512 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6978, allocations: 4 kB / 1.542 GB, free: 6.508 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.6978, allocations: 0 / 1.542 GB, free: 6.508 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.7005, allocations: 1.438 MB / 1.543 GB, free: 5.02 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.7005, allocations: 0 / 1.543 GB, free: 5.02 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.7007, allocations: 47.95 kB / 1.543 GB, free: 4.973 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004393/0.7012, allocations: 165.5 kB / 1.543 GB, free: 4.805 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.7012, allocations: 12 kB / 1.543 GB, free: 4.793 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004486/0.7057, allocations: 4.014 MB / 1.547 GB, free: 0.5508 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7057, allocations: 0 / 1.547 GB, free: 0.5508 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.7077, allocations: 1.009 MB / 1.548 GB, free: 15.52 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.708, allocations: 147.1 kB / 1.548 GB, free: 15.37 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.972e-05/0.7081, allocations: 23.88 kB / 1.548 GB, free: 15.35 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.7084, allocations: 27.91 kB / 1.548 GB, free: 15.32 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.7086, allocations: 55.89 kB / 1.548 GB, free: 15.27 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.7086, allocations: 19.98 kB / 1.548 GB, free: 15.25 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001644/0.7103, allocations: 1.313 MB / 1.55 GB, free: 13.93 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.7103, allocations: 0 / 1.55 GB, free: 13.93 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0007963/0.7111, allocations: 191.7 kB / 1.55 GB, free: 13.74 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00418/0.7152, allocations: 1.959 MB / 1.552 GB, free: 11.96 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.7168, allocations: 0.6547 MB / 1.552 GB, free: 11.29 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7168, allocations: 3.938 kB / 1.552 GB, free: 11.29 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009357/0.7177, allocations: 0.5204 MB / 1.553 GB, free: 10.74 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.7188, allocations: 206.5 kB / 1.553 GB, free: 10.55 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.7323, allocations: 8.612 MB / 1.562 GB, free: 1.711 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007133/0.733, allocations: 0.5584 MB / 1.562 GB, free: 1.121 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0003582/0.7334, allocations: 100.8 kB / 1.562 GB, free: 1.023 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00053/0.7339, allocations: 415.3 kB / 1.563 GB, free: 0.6172 MB / 1.248 GB Notification: Performance of SimCode: time 1.103e-06/0.7339, allocations: 0 / 1.563 GB, free: 0.6172 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06434/0.7983, allocations: 22.59 MB / 1.585 GB, free: 10.29 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.6, allocations: 14.56 kB / 1.585 GB, free: 10.28 MB / 1.279 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 24.413388368673623]