Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.001191/0.001191, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001213/0.001213, allocations: 189.9 kB / 22.23 MB, free: 5.105 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.278/1.278, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.817/2.817, allocations: 0.4893 GB / 0.7884 GB, free: 33.22 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 62.89 kB / 1.145 GB, free: 30.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2978, allocations: 174.9 MB / 1.316 GB, free: 9.703 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1719/0.4697, allocations: 157.6 MB / 1.47 GB, free: 11.52 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02577/0.4955, allocations: 21.88 MB / 1.491 GB, free: 5.57 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.4971, allocations: 71.44 kB / 1.491 GB, free: 5.5 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.499, allocations: 1.169 MB / 1.492 GB, free: 4.328 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.5007, allocations: 0.8679 MB / 1.493 GB, free: 3.457 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.502, allocations: 485.9 kB / 1.494 GB, free: 2.984 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001809/0.5038, allocations: 1.251 MB / 1.495 GB, free: 1.73 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009594/0.5048, allocations: 0.5468 MB / 1.496 GB, free: 1.18 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009905/0.5058, allocations: 0.5685 MB / 1.496 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.5072, allocations: 0.9995 MB / 1.497 GB, free: 15.61 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.5074, allocations: 68 kB / 1.497 GB, free: 15.54 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/0.5077, allocations: 108 kB / 1.497 GB, free: 15.43 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003496/0.508, allocations: 324.7 kB / 1.498 GB, free: 15.12 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005312/0.5086, allocations: 492.8 kB / 1.498 GB, free: 14.63 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.5099, allocations: 1.194 MB / 1.499 GB, free: 13.43 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5099, allocations: 4 kB / 1.499 GB, free: 13.43 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5099, allocations: 3.938 kB / 1.499 GB, free: 13.43 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.5099, allocations: 0 / 1.499 GB, free: 13.43 MB / 1.201 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.002236/0.5122, allocations: 1.489 MB / 1.501 GB, free: 11.9 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.5122, allocations: 8.031 kB / 1.501 GB, free: 11.89 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.5124, allocations: 140 kB / 1.501 GB, free: 11.75 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008325/0.5132, allocations: 0.6061 MB / 1.501 GB, free: 11.11 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.5133, allocations: 74.67 kB / 1.501 GB, free: 11.03 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.243e-05/0.5134, allocations: 51.95 kB / 1.501 GB, free: 10.98 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009268/0.5143, allocations: 0.5223 MB / 1.502 GB, free: 10.45 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.5144, allocations: 3.938 kB / 1.502 GB, free: 10.44 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.5144, allocations: 16 kB / 1.502 GB, free: 10.43 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.5144, allocations: 8 kB / 1.502 GB, free: 10.42 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007989/0.5152, allocations: 411.7 kB / 1.502 GB, free: 10.01 MB / 1.201 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.003473/0.5187, allocations: 2.692 MB / 1.505 GB, free: 7.094 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009095/0.5196, allocations: 424.3 kB / 1.505 GB, free: 6.668 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006097/0.5202, allocations: 286 kB / 1.506 GB, free: 6.387 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.5202, allocations: 4.328 kB / 1.506 GB, free: 6.383 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005234/0.5208, allocations: 296.6 kB / 1.506 GB, free: 6.082 MB / 1.201 GB Notification: Performance of pre-optimization done (n=44): time 1.953e-06/0.5208, allocations: 0 / 1.506 GB, free: 6.082 MB / 1.201 GB Notification: Performance of matching and sorting (n=44): time 0.002404/0.5232, allocations: 0.9899 MB / 1.507 GB, free: 5.078 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.5232, allocations: 63.39 kB / 1.507 GB, free: 5.004 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.5251, allocations: 1.76 MB / 1.509 GB, free: 3.234 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/0.5251, allocations: 45.64 kB / 1.509 GB, free: 3.184 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004546/0.5256, allocations: 0.5293 MB / 1.509 GB, free: 2.652 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.5257, allocations: 150.8 kB / 1.509 GB, free: 2.504 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.5259, allocations: 102.3 kB / 1.51 GB, free: 2.398 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.526, allocations: 326 kB / 1.51 GB, free: 2.074 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.5265, allocations: 217.2 kB / 1.51 GB, free: 1.859 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/0.527, allocations: 340 kB / 1.51 GB, free: 1.48 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008609/0.5279, allocations: 0.5109 MB / 1.511 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.5279, allocations: 7.938 kB / 1.511 GB, free: 0.9141 MB / 1.201 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001424/0.5293, allocations: 0.8035 MB / 1.512 GB, free: 104 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.5293, allocations: 11.94 kB / 1.512 GB, free: 92 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5293, allocations: 4 kB / 1.512 GB, free: 88 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004284/0.5298, allocations: 137 kB / 1.512 GB, free: 15.95 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.5301, allocations: 99.81 kB / 1.512 GB, free: 15.85 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/0.5329, allocations: 2.496 MB / 1.514 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.5333, allocations: 79.58 kB / 1.514 GB, free: 13.17 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.5333, allocations: 20 kB / 1.514 GB, free: 13.15 MB / 1.217 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.0004985/0.5338, allocations: 392.6 kB / 1.515 GB, free: 12.76 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.534, allocations: 123.3 kB / 1.515 GB, free: 12.64 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.5353, allocations: 0.7161 MB / 1.516 GB, free: 11.9 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.5353, allocations: 7.938 kB / 1.516 GB, free: 11.89 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.5353, allocations: 11.97 kB / 1.516 GB, free: 11.88 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5353, allocations: 0 / 1.516 GB, free: 11.88 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.5375, allocations: 1.461 MB / 1.517 GB, free: 10.37 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5375, allocations: 3.938 kB / 1.517 GB, free: 10.37 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.5378, allocations: 43.97 kB / 1.517 GB, free: 10.32 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003811/0.5381, allocations: 165.6 kB / 1.517 GB, free: 10.16 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.5382, allocations: 12 kB / 1.517 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/0.542, allocations: 4.077 MB / 1.521 GB, free: 5.848 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.542, allocations: 0 / 1.521 GB, free: 5.848 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.5437, allocations: 1.001 MB / 1.522 GB, free: 4.82 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.5439, allocations: 143.3 kB / 1.522 GB, free: 4.68 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.242e-05/0.544, allocations: 12 kB / 1.522 GB, free: 4.668 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.5443, allocations: 39.89 kB / 1.522 GB, free: 4.629 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.5444, allocations: 55.91 kB / 1.523 GB, free: 4.574 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.5445, allocations: 19.98 kB / 1.523 GB, free: 4.555 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001386/0.5459, allocations: 1.285 MB / 1.524 GB, free: 3.266 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5459, allocations: 0 / 1.524 GB, free: 3.266 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007/0.5466, allocations: 195.7 kB / 1.524 GB, free: 3.074 MB / 1.217 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 (29): * Single equations (assignments): 21 * 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.001648/0.5482, allocations: 484 kB / 1.524 GB, free: 2.777 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.5495, allocations: 0.6433 MB / 1.525 GB, free: 2.121 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5495, allocations: 4.125 kB / 1.525 GB, free: 2.117 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0008052/0.5503, allocations: 0.5208 MB / 1.526 GB, free: 1.57 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008466/0.5512, allocations: 199.5 kB / 1.526 GB, free: 1.383 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.5546, allocations: 2.376 MB / 1.528 GB, free: 14.97 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/0.5554, allocations: 1.153 MB / 1.529 GB, free: 13.79 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000264/0.5556, allocations: 100.8 kB / 1.529 GB, free: 13.69 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.5557, allocations: 47.44 kB / 1.529 GB, free: 13.64 MB / 1.232 GB Notification: Performance of SimCode: time 5.61e-07/0.5557, allocations: 0 / 1.529 GB, free: 13.64 MB / 1.232 GB Notification: Performance of Templates: time 0.01898/0.5747, allocations: 10.56 MB / 1.54 GB, free: 3.199 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.07809058856219]