Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20160,variableFilter="time|thermalZoneTwoElements.TAir|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20160,variableFilter="time|thermalZoneTwoElements.TAir|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 114.4 kB / 16.42 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 189.4 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.558/2.558, allocations: 461.7 MB / 0.7352 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.88 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8558/0.8573, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.2119/1.069, allocations: 202.1 MB / 1.406 GB, free: 2.723 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01863/1.088, allocations: 10.17 MB / 1.416 GB, free: 8.523 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003845/1.092, allocations: 71.56 kB / 1.416 GB, free: 8.453 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003939/1.096, allocations: 2.723 MB / 1.418 GB, free: 5.723 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006717/1.103, allocations: 2.759 MB / 1.421 GB, free: 2.957 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004333/1.107, allocations: 1.451 MB / 1.422 GB, free: 1.512 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005814/1.113, allocations: 4.004 MB / 1.426 GB, free: 13.5 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00363/1.116, allocations: 2.144 MB / 1.428 GB, free: 11.3 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004544/1.121, allocations: 1.714 MB / 1.43 GB, free: 9.586 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003952/1.125, allocations: 2.337 MB / 1.432 GB, free: 7.25 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0008559/1.126, allocations: 188 kB / 1.433 GB, free: 7.066 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004518/1.13, allocations: 1.493 MB / 1.434 GB, free: 5.57 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001428/1.132, allocations: 0.9016 MB / 1.435 GB, free: 4.664 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002848/1.135, allocations: 1.277 MB / 1.436 GB, free: 3.379 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00754/1.142, allocations: 3.761 MB / 1.44 GB, free: 15.61 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.142, allocations: 0 / 1.44 GB, free: 15.61 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.165e-06/1.142, allocations: 0 / 1.44 GB, free: 15.61 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.000148/1.142, allocations: 0 / 1.44 GB, free: 15.61 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.007433/1.15, allocations: 3.3 MB / 1.443 GB, free: 12.24 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/1.15, allocations: 8.031 kB / 1.443 GB, free: 12.23 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/1.152, allocations: 447.7 kB / 1.443 GB, free: 11.79 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/1.155, allocations: 1.592 MB / 1.445 GB, free: 10.13 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/1.155, allocations: 136.2 kB / 1.445 GB, free: 9.992 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002612/1.155, allocations: 135.9 kB / 1.445 GB, free: 9.859 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/1.158, allocations: 1.515 MB / 1.447 GB, free: 8.297 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/1.158, allocations: 3.906 kB / 1.447 GB, free: 8.293 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/1.159, allocations: 55.97 kB / 1.447 GB, free: 8.238 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.288e-05/1.159, allocations: 42.44 kB / 1.447 GB, free: 8.195 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/1.161, allocations: 1.266 MB / 1.448 GB, free: 6.922 MB / 1.17 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.009742/1.171, allocations: 6.501 MB / 1.454 GB, free: 15.99 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/1.173, allocations: 1.202 MB / 1.456 GB, free: 14.76 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/1.174, allocations: 0.6752 MB / 1.456 GB, free: 14.09 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004531/1.175, allocations: 300.1 kB / 1.457 GB, free: 13.74 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/1.176, allocations: 0.6815 MB / 1.457 GB, free: 13.05 MB / 1.186 GB Notification: Performance of pre-optimization done (n=114): time 4.298e-06/1.176, allocations: 0 / 1.457 GB, free: 13.05 MB / 1.186 GB Notification: Performance of matching and sorting (n=114): time 0.005326/1.181, allocations: 2.379 MB / 1.46 GB, free: 10.61 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/1.181, allocations: 60.41 kB / 1.46 GB, free: 10.54 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005445/1.187, allocations: 4.023 MB / 1.464 GB, free: 6.508 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002138/1.187, allocations: 49.7 kB / 1.464 GB, free: 6.453 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/1.188, allocations: 1.294 MB / 1.465 GB, free: 5.148 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005171/1.189, allocations: 370.8 kB / 1.465 GB, free: 4.781 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/1.189, allocations: 218.9 kB / 1.465 GB, free: 4.562 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.19, allocations: 357.9 kB / 1.466 GB, free: 4.207 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/1.191, allocations: 0.4944 MB / 1.466 GB, free: 3.711 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/1.192, allocations: 0.7495 MB / 1.467 GB, free: 2.871 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/1.194, allocations: 1.258 MB / 1.468 GB, free: 1.531 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/1.194, allocations: 4 kB / 1.468 GB, free: 1.527 MB / 1.186 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003483/1.198, allocations: 1.779 MB / 1.47 GB, free: 15.74 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/1.198, allocations: 8 kB / 1.47 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.198, allocations: 4 kB / 1.47 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006231/1.198, allocations: 217.5 kB / 1.47 GB, free: 15.51 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008902/1.199, allocations: 247.8 kB / 1.47 GB, free: 15.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004811/1.204, allocations: 4.613 MB / 1.475 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/1.205, allocations: 138.8 kB / 1.475 GB, free: 10.24 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/1.206, allocations: 44 kB / 1.475 GB, free: 10.2 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 35 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.ventRate.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,ventRate.nextTimeEventScaled,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,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 (138): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001604/1.207, allocations: 0.8193 MB / 1.476 GB, free: 9.367 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006162/1.208, allocations: 276.5 kB / 1.476 GB, free: 9.094 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/1.211, allocations: 1.656 MB / 1.478 GB, free: 7.418 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002394/1.214, allocations: 1.44 MB / 1.479 GB, free: 5.922 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.214, allocations: 0 / 1.479 GB, free: 5.922 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009919/1.215, allocations: 429.3 kB / 1.48 GB, free: 5.48 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/1.215, allocations: 27.98 kB / 1.48 GB, free: 5.453 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008814/1.216, allocations: 59.89 kB / 1.48 GB, free: 5.395 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/1.216, allocations: 96.84 kB / 1.48 GB, free: 5.301 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00355/1.22, allocations: 1.619 MB / 1.481 GB, free: 3.668 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003571/1.223, allocations: 2.288 MB / 1.484 GB, free: 1.355 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009225/1.224, allocations: 0.5777 MB / 1.484 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.004125/1.228, allocations: 2.916 MB / 1.487 GB, free: 13.87 MB / 1.217 GB Notification: Performance of Backend: time 6.11e-07/1.228, allocations: 0 / 1.487 GB, free: 13.87 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006124/1.235, allocations: 2.356 MB / 1.489 GB, free: 11.7 MB / 1.217 GB Notification: Performance of SimCode: time 0.01001/1.245, allocations: 5.872 MB / 1.495 GB, free: 5.809 MB / 1.217 GB Notification: Performance of Templates: time 0.05399/1.299, allocations: 28.44 MB / 1.523 GB, free: 9.629 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches