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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 109.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.128/3.128, allocations: 497.2 MB / 0.7812 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 70.41 kB / 1.134 GB, free: 33.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3455, allocations: 173.9 MB / 1.304 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1982/0.5437, allocations: 157.3 MB / 1.458 GB, free: 3.676 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02985/0.5736, allocations: 21.81 MB / 1.479 GB, free: 13.79 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002694/0.5762, allocations: 51.75 kB / 1.479 GB, free: 13.74 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.5783, allocations: 1.169 MB / 1.48 GB, free: 12.57 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.5803, allocations: 0.868 MB / 1.481 GB, free: 11.7 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.5819, allocations: 446.3 kB / 1.481 GB, free: 11.27 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002135/0.584, allocations: 1.251 MB / 1.483 GB, free: 10.01 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009181/0.5849, allocations: 0.5659 MB / 1.483 GB, free: 9.441 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009389/0.5859, allocations: 0.5568 MB / 1.484 GB, free: 8.883 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.5871, allocations: 1.003 MB / 1.485 GB, free: 7.875 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.5872, allocations: 64 kB / 1.485 GB, free: 7.812 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.5875, allocations: 112 kB / 1.485 GB, free: 7.703 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003161/0.5879, allocations: 324.6 kB / 1.485 GB, free: 7.387 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004827/0.5883, allocations: 488.8 kB / 1.486 GB, free: 6.906 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.5899, allocations: 1.206 MB / 1.487 GB, free: 5.695 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5899, allocations: 0 / 1.487 GB, free: 5.695 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5899, allocations: 0 / 1.487 GB, free: 5.695 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.5899, allocations: 0 / 1.487 GB, free: 5.695 MB / 1.186 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.00293/0.5928, allocations: 1.517 MB / 1.488 GB, free: 4.125 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.5929, allocations: 12.62 kB / 1.488 GB, free: 4.113 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.593, allocations: 86.7 kB / 1.488 GB, free: 4.02 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.5932, allocations: 140 kB / 1.489 GB, free: 3.883 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.5944, allocations: 0.6754 MB / 1.489 GB, free: 3.156 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.5945, allocations: 74.69 kB / 1.489 GB, free: 3.074 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.5946, allocations: 44 kB / 1.489 GB, free: 3.031 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.5957, allocations: 0.5301 MB / 1.49 GB, free: 2.492 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.5957, allocations: 3.938 kB / 1.49 GB, free: 2.488 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.804e-05/0.5958, allocations: 16 kB / 1.49 GB, free: 2.473 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.5958, allocations: 12 kB / 1.49 GB, free: 2.461 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008752/0.5966, allocations: 407.7 kB / 1.49 GB, free: 2.059 MB / 1.186 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.004086/0.6007, allocations: 2.728 MB / 1.493 GB, free: 15.09 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.6018, allocations: 425.7 kB / 1.493 GB, free: 14.67 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006655/0.6024, allocations: 292.7 kB / 1.494 GB, free: 14.39 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.981e-05/0.6025, allocations: 8.328 kB / 1.494 GB, free: 14.38 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005875/0.6031, allocations: 280 kB / 1.494 GB, free: 14.09 MB / 1.201 GB Notification: Performance of pre-optimization done (n=44): time 4.108e-06/0.6031, allocations: 0 / 1.494 GB, free: 14.09 MB / 1.201 GB Notification: Performance of matching and sorting (n=44): time 0.002868/0.6059, allocations: 1.145 MB / 1.495 GB, free: 12.9 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.606, allocations: 63.41 kB / 1.495 GB, free: 12.82 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.6082, allocations: 1.76 MB / 1.497 GB, free: 11.05 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.6083, allocations: 37.7 kB / 1.497 GB, free: 11.01 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005324/0.6088, allocations: 0.5253 MB / 1.497 GB, free: 10.48 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.609, allocations: 154.7 kB / 1.497 GB, free: 10.33 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.6091, allocations: 98.25 kB / 1.498 GB, free: 10.23 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.6093, allocations: 334 kB / 1.498 GB, free: 9.895 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.6098, allocations: 209 kB / 1.498 GB, free: 9.691 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/0.6104, allocations: 341 kB / 1.498 GB, free: 9.309 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009798/0.6114, allocations: 0.5262 MB / 1.499 GB, free: 8.734 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.6114, allocations: 3.938 kB / 1.499 GB, free: 8.73 MB / 1.201 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001831/0.6132, allocations: 0.8034 MB / 1.5 GB, free: 7.918 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.6132, allocations: 12.03 kB / 1.5 GB, free: 7.906 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.6133, allocations: 7.984 kB / 1.5 GB, free: 7.898 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004772/0.6137, allocations: 132.7 kB / 1.5 GB, free: 7.766 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.6142, allocations: 111.8 kB / 1.5 GB, free: 7.656 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/0.6175, allocations: 2.591 MB / 1.502 GB, free: 4.938 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/0.6181, allocations: 83.69 kB / 1.503 GB, free: 4.855 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.6181, allocations: 20 kB / 1.503 GB, free: 4.836 MB / 1.201 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,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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.0006249/0.6187, allocations: 383.3 kB / 1.503 GB, free: 4.453 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.6189, allocations: 127.1 kB / 1.503 GB, free: 4.328 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.6191, allocations: 139.7 kB / 1.503 GB, free: 4.188 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.6191, allocations: 4 kB / 1.503 GB, free: 4.184 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/0.6192, allocations: 4 kB / 1.503 GB, free: 4.18 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.6192, allocations: 11.97 kB / 1.503 GB, free: 4.168 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.6218, allocations: 1.487 MB / 1.505 GB, free: 2.621 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6218, allocations: 0 / 1.505 GB, free: 2.621 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.622, allocations: 47.95 kB / 1.505 GB, free: 2.574 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/0.6225, allocations: 161.6 kB / 1.505 GB, free: 2.41 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.6225, allocations: 19.92 kB / 1.505 GB, free: 2.391 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004278/0.6268, allocations: 4.015 MB / 1.509 GB, free: 14.09 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6268, allocations: 64 / 1.509 GB, free: 14.09 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.6288, allocations: 0.9858 MB / 1.51 GB, free: 13.08 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004374/0.6292, allocations: 220.2 kB / 1.51 GB, free: 12.84 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.745e-05/0.6293, allocations: 15.98 kB / 1.51 GB, free: 12.83 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.6296, allocations: 31.91 kB / 1.51 GB, free: 12.8 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.6298, allocations: 55.86 kB / 1.51 GB, free: 12.74 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.6298, allocations: 16 kB / 1.51 GB, free: 12.73 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001672/0.6315, allocations: 1.285 MB / 1.511 GB, free: 11.44 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6315, allocations: 0 / 1.511 GB, free: 11.44 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00086/0.6324, allocations: 207.6 kB / 1.512 GB, free: 11.23 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * 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 (28): * Single equations (assignments): 20 * 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.004004/0.6364, allocations: 1.913 MB / 1.513 GB, free: 9.488 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.6379, allocations: 0.6408 MB / 1.514 GB, free: 8.836 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6379, allocations: 4 kB / 1.514 GB, free: 8.832 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000927/0.6389, allocations: 0.509 MB / 1.515 GB, free: 8.297 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.6401, allocations: 197.6 kB / 1.515 GB, free: 8.109 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/0.6561, allocations: 8.535 MB / 1.523 GB, free: 15.34 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.6574, allocations: 1.153 MB / 1.524 GB, free: 14.16 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004107/0.6578, allocations: 104.8 kB / 1.524 GB, free: 14.05 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006283/0.6584, allocations: 403.3 kB / 1.525 GB, free: 13.66 MB / 1.232 GB Notification: Performance of SimCode: time 1.032e-06/0.6584, allocations: 0 / 1.525 GB, free: 13.66 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06147/0.7199, allocations: 20.98 MB / 1.545 GB, free: 8.965 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.01, allocations: 11.91 kB / 1.545 GB, free: 8.953 MB / 1.248 GB " [Timeout remaining time 287] (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_2/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: 23.06889518396929]