Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001931/0.001938, allocations: 110.9 kB / 16.42 MB, free: 6.5 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.001995/0.001995, allocations: 187.9 kB / 17.35 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.91 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.01, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.2569/1.267, allocations: 202.1 MB / 1.286 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01775/1.285, allocations: 10.17 MB / 1.296 GB, free: 9.273 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00331/1.288, allocations: 67.62 kB / 1.296 GB, free: 9.207 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/1.292, allocations: 2.731 MB / 1.299 GB, free: 6.469 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005983/1.298, allocations: 2.81 MB / 1.301 GB, free: 3.648 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003963/1.302, allocations: 1.473 MB / 1.303 GB, free: 2.184 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005567/1.307, allocations: 3.992 MB / 1.307 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/1.31, allocations: 2.141 MB / 1.309 GB, free: 11.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/1.314, allocations: 1.763 MB / 1.311 GB, free: 10.22 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/1.317, allocations: 2.331 MB / 1.313 GB, free: 7.887 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003449/1.318, allocations: 188 kB / 1.313 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/1.321, allocations: 1.509 MB / 1.315 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000905/1.322, allocations: 0.8861 MB / 1.315 GB, free: 5.305 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001989/1.324, allocations: 1.281 MB / 1.317 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005428/1.329, allocations: 3.757 MB / 1.32 GB, free: 252 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.329, allocations: 0 / 1.32 GB, free: 252 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.934e-06/1.329, allocations: 0 / 1.32 GB, free: 252 kB / 1.045 GB Notification: Performance of Transformations before backend: time 5.474e-05/1.329, allocations: 0 / 1.32 GB, free: 252 kB / 1.045 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.005729/1.335, allocations: 3.296 MB / 1.324 GB, free: 12.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.335, allocations: 8.031 kB / 1.324 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/1.337, allocations: 463.7 kB / 1.324 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/1.339, allocations: 1.588 MB / 1.326 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/1.34, allocations: 136.2 kB / 1.326 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/1.34, allocations: 127.9 kB / 1.326 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/1.342, allocations: 1.519 MB / 1.327 GB, free: 8.934 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/1.342, allocations: 0 / 1.327 GB, free: 8.934 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/1.343, allocations: 52 kB / 1.327 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.801e-05/1.343, allocations: 50.42 kB / 1.327 GB, free: 8.832 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/1.345, allocations: 1.255 MB / 1.329 GB, free: 7.57 MB / 1.061 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.009855/1.355, allocations: 6.524 MB / 1.335 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/1.357, allocations: 1.194 MB / 1.336 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/1.358, allocations: 0.679 MB / 1.337 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004568/1.359, allocations: 296.3 kB / 1.337 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001236/1.36, allocations: 0.6815 MB / 1.338 GB, free: 13.68 MB / 1.076 GB Notification: Performance of pre-optimization done (n=114): time 4.779e-06/1.36, allocations: 0 / 1.338 GB, free: 13.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=114): time 0.005388/1.365, allocations: 2.375 MB / 1.34 GB, free: 11.25 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/1.366, allocations: 72.39 kB / 1.34 GB, free: 11.17 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004971/1.371, allocations: 4.015 MB / 1.344 GB, free: 7.145 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003018/1.371, allocations: 53.7 kB / 1.344 GB, free: 7.086 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00132/1.372, allocations: 1.275 MB / 1.345 GB, free: 5.801 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005057/1.373, allocations: 382.7 kB / 1.346 GB, free: 5.422 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/1.373, allocations: 214.9 kB / 1.346 GB, free: 5.207 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001764/1.373, allocations: 357.9 kB / 1.346 GB, free: 4.852 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/1.374, allocations: 0.4944 MB / 1.347 GB, free: 4.355 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/1.376, allocations: 0.7577 MB / 1.347 GB, free: 3.508 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/1.378, allocations: 1.258 MB / 1.349 GB, free: 2.164 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-05/1.378, allocations: 4 kB / 1.349 GB, free: 2.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00362/1.381, allocations: 1.768 MB / 1.35 GB, free: 388 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/1.381, allocations: 8 kB / 1.35 GB, free: 380 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/1.381, allocations: 8.469 kB / 1.35 GB, free: 372 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006887/1.382, allocations: 217.6 kB / 1.351 GB, free: 148 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009636/1.383, allocations: 247.6 kB / 1.351 GB, free: 15.9 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005068/1.388, allocations: 4.611 MB / 1.355 GB, free: 11.01 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/1.39, allocations: 148.9 kB / 1.356 GB, free: 10.87 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/1.39, allocations: 48 kB / 1.356 GB, free: 10.82 MB / 1.092 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.002107/1.392, allocations: 0.8141 MB / 1.356 GB, free: 9.996 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008708/1.393, allocations: 268.5 kB / 1.357 GB, free: 9.73 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/1.398, allocations: 1.652 MB / 1.358 GB, free: 8.059 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002698/1.401, allocations: 1.448 MB / 1.36 GB, free: 6.555 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.401, allocations: 0 / 1.36 GB, free: 6.555 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.402, allocations: 429.3 kB / 1.36 GB, free: 6.113 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004472/1.402, allocations: 32 kB / 1.36 GB, free: 6.082 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.403, allocations: 47.94 kB / 1.36 GB, free: 6.035 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/1.403, allocations: 100.9 kB / 1.36 GB, free: 5.938 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00385/1.407, allocations: 1.631 MB / 1.362 GB, free: 4.293 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003968/1.411, allocations: 2.28 MB / 1.364 GB, free: 1.988 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001066/1.412, allocations: 0.5699 MB / 1.365 GB, free: 1.418 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00432/1.417, allocations: 2.92 MB / 1.367 GB, free: 14.5 MB / 1.107 GB Notification: Performance of Backend: time 6.61e-07/1.417, allocations: 0 / 1.367 GB, free: 14.5 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006245/1.423, allocations: 2.368 MB / 1.37 GB, free: 12.33 MB / 1.107 GB Notification: Performance of SimCode: time 0.01099/1.434, allocations: 5.864 MB / 1.375 GB, free: 6.438 MB / 1.107 GB Notification: Performance of Templates: time 0.05721/1.491, allocations: 28.76 MB / 1.404 GB, free: 9.961 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches