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 12.0.0-master/package.mo", uses=false) 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: 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.001346/0.001346, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001377/0.001377, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.767/2.767, allocations: 472.7 MB / 0.746 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 63.91 kB / 1.07 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9338/0.9352, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.2306/1.166, allocations: 202.1 MB / 1.424 GB, free: 2.625 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01658/1.182, allocations: 10.17 MB / 1.434 GB, free: 8.426 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003089/1.186, allocations: 67.62 kB / 1.434 GB, free: 8.359 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.003943/1.19, allocations: 2.735 MB / 1.436 GB, free: 5.617 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006669/1.196, allocations: 2.818 MB / 1.439 GB, free: 2.789 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004435/1.201, allocations: 1.467 MB / 1.441 GB, free: 1.328 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.006167/1.207, allocations: 3.992 MB / 1.445 GB, free: 13.32 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003682/1.211, allocations: 2.156 MB / 1.447 GB, free: 11.12 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004508/1.215, allocations: 1.73 MB / 1.448 GB, free: 9.391 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003832/1.219, allocations: 2.348 MB / 1.451 GB, free: 7.043 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0009204/1.22, allocations: 187.9 kB / 1.451 GB, free: 6.859 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00443/1.224, allocations: 1.501 MB / 1.452 GB, free: 5.355 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001441/1.226, allocations: 0.8939 MB / 1.453 GB, free: 4.457 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002567/1.228, allocations: 1.285 MB / 1.454 GB, free: 3.164 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.007034/1.235, allocations: 3.774 MB / 1.458 GB, free: 15.38 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.235, allocations: 4 kB / 1.458 GB, free: 15.37 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.432e-06/1.235, allocations: 0 / 1.458 GB, free: 15.37 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001447/1.236, allocations: 0 / 1.458 GB, free: 15.37 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.007589/1.243, allocations: 3.407 MB / 1.461 GB, free: 11.89 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/1.243, allocations: 8.031 kB / 1.461 GB, free: 11.88 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002137/1.245, allocations: 481.6 kB / 1.462 GB, free: 11.41 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003745/1.249, allocations: 1.61 MB / 1.463 GB, free: 9.738 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/1.249, allocations: 140.1 kB / 1.464 GB, free: 9.594 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005288/1.25, allocations: 131.9 kB / 1.464 GB, free: 9.465 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004542/1.255, allocations: 1.515 MB / 1.465 GB, free: 7.898 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.13e-05/1.255, allocations: 3.938 kB / 1.465 GB, free: 7.895 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002682/1.255, allocations: 55.98 kB / 1.465 GB, free: 7.84 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.517e-05/1.255, allocations: 46.44 kB / 1.465 GB, free: 7.793 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003296/1.258, allocations: 1.251 MB / 1.466 GB, free: 6.535 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.01315/1.271, allocations: 6.518 MB / 1.473 GB, free: 15.59 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/1.274, allocations: 1.198 MB / 1.474 GB, free: 14.36 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/1.275, allocations: 0.6746 MB / 1.475 GB, free: 13.69 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004793/1.276, allocations: 308.2 kB / 1.475 GB, free: 13.33 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/1.277, allocations: 0.6726 MB / 1.476 GB, free: 12.65 MB / 1.201 GB Notification: Performance of pre-optimization done (n=114): time 5.461e-06/1.277, allocations: 0 / 1.476 GB, free: 12.65 MB / 1.201 GB Notification: Performance of matching and sorting (n=114): time 0.00525/1.282, allocations: 2.396 MB / 1.478 GB, free: 10.2 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/1.282, allocations: 68.41 kB / 1.478 GB, free: 10.12 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005536/1.288, allocations: 4.019 MB / 1.482 GB, free: 6.09 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/1.288, allocations: 53.7 kB / 1.482 GB, free: 6.031 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/1.289, allocations: 1.28 MB / 1.483 GB, free: 4.742 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/1.29, allocations: 404.7 kB / 1.484 GB, free: 4.344 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003994/1.29, allocations: 214.9 kB / 1.484 GB, free: 4.129 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.29, allocations: 357.9 kB / 1.484 GB, free: 3.773 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009938/1.291, allocations: 0.4983 MB / 1.485 GB, free: 3.273 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/1.292, allocations: 0.7456 MB / 1.485 GB, free: 2.438 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/1.295, allocations: 1.256 MB / 1.487 GB, free: 1.102 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/1.295, allocations: 4 kB / 1.487 GB, free: 1.098 MB / 1.201 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003807/1.299, allocations: 1.791 MB / 1.488 GB, free: 15.29 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/1.299, allocations: 8 kB / 1.488 GB, free: 15.28 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/1.299, allocations: 12.45 kB / 1.488 GB, free: 15.27 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007259/1.299, allocations: 221.5 kB / 1.489 GB, free: 15.04 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009478/1.3, allocations: 243.6 kB / 1.489 GB, free: 14.8 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004893/1.305, allocations: 4.621 MB / 1.493 GB, free: 9.918 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/1.307, allocations: 151.1 kB / 1.494 GB, free: 9.77 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/1.307, allocations: 44 kB / 1.494 GB, free: 9.727 MB / 1.217 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.001726/1.308, allocations: 0.8136 MB / 1.494 GB, free: 8.906 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006475/1.309, allocations: 282.1 kB / 1.495 GB, free: 8.629 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/1.313, allocations: 1.655 MB / 1.496 GB, free: 6.953 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00235/1.315, allocations: 1.444 MB / 1.498 GB, free: 5.453 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.315, allocations: 0 / 1.498 GB, free: 5.453 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009528/1.316, allocations: 446.9 kB / 1.498 GB, free: 4.996 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003774/1.316, allocations: 31.98 kB / 1.498 GB, free: 4.965 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008439/1.317, allocations: 49.7 kB / 1.498 GB, free: 4.918 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/1.317, allocations: 100.8 kB / 1.498 GB, free: 4.82 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003507/1.321, allocations: 1.635 MB / 1.5 GB, free: 3.172 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003513/1.324, allocations: 2.297 MB / 1.502 GB, free: 0.8555 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009237/1.325, allocations: 0.566 MB / 1.503 GB, free: 296 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.004159/1.33, allocations: 2.928 MB / 1.505 GB, free: 13.36 MB / 1.232 GB Notification: Performance of Backend: time 8.71e-07/1.33, allocations: 0 / 1.505 GB, free: 13.36 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.006144/1.336, allocations: 2.365 MB / 1.508 GB, free: 11.19 MB / 1.232 GB Notification: Performance of SimCode: time 0.01/1.346, allocations: 5.956 MB / 1.514 GB, free: 5.195 MB / 1.232 GB Notification: Performance of Templates: time 0.05449/1.4, allocations: 28.76 MB / 1.542 GB, free: 8.688 MB / 1.264 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