Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20160,variableFilter="time|thermalZoneTwoElements.TAir|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20160,variableFilter="time|thermalZoneTwoElements.TAir|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 107.1 kB / 16.41 MB, free: 6.461 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.001369/0.001369, allocations: 192.2 kB / 17.35 MB, free: 5.715 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.581/2.581, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001462, allocations: 67.88 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8194/0.8209, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain): time 0.2193/1.04, allocations: 202.2 MB / 1.406 GB, free: 2.863 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01761/1.058, allocations: 10.18 MB / 1.416 GB, free: 8.648 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002577/1.06, allocations: 67.62 kB / 1.416 GB, free: 8.582 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004023/1.065, allocations: 2.723 MB / 1.419 GB, free: 5.852 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005857/1.07, allocations: 2.752 MB / 1.421 GB, free: 3.09 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004105/1.075, allocations: 1.464 MB / 1.423 GB, free: 1.633 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005965/1.081, allocations: 3.989 MB / 1.427 GB, free: 13.63 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003818/1.084, allocations: 2.152 MB / 1.429 GB, free: 11.43 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003917/1.088, allocations: 1.732 MB / 1.43 GB, free: 9.695 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003695/1.092, allocations: 2.337 MB / 1.433 GB, free: 7.359 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0007272/1.093, allocations: 192 kB / 1.433 GB, free: 7.172 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003492/1.096, allocations: 1.497 MB / 1.434 GB, free: 5.672 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/1.097, allocations: 0.8939 MB / 1.435 GB, free: 4.773 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002278/1.1, allocations: 1.281 MB / 1.436 GB, free: 3.484 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005995/1.106, allocations: 3.761 MB / 1.44 GB, free: 15.71 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/1.106, allocations: 3.938 kB / 1.44 GB, free: 15.7 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.634e-06/1.106, allocations: 0 / 1.44 GB, free: 15.7 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001298/1.106, allocations: 0 / 1.44 GB, free: 15.7 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.006494/1.112, allocations: 3.3 MB / 1.443 GB, free: 12.34 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.112, allocations: 12.03 kB / 1.443 GB, free: 12.33 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/1.115, allocations: 459.7 kB / 1.444 GB, free: 11.88 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/1.117, allocations: 1.588 MB / 1.445 GB, free: 10.22 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/1.118, allocations: 136.2 kB / 1.445 GB, free: 10.08 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003468/1.118, allocations: 139.9 kB / 1.446 GB, free: 9.945 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/1.121, allocations: 1.515 MB / 1.447 GB, free: 8.383 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-05/1.121, allocations: 4 kB / 1.447 GB, free: 8.379 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/1.121, allocations: 51.98 kB / 1.447 GB, free: 8.328 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-05/1.121, allocations: 46.44 kB / 1.447 GB, free: 8.281 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/1.124, allocations: 1.251 MB / 1.448 GB, free: 7.023 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.009251/1.133, allocations: 6.516 MB / 1.455 GB, free: 80 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/1.135, allocations: 1.194 MB / 1.456 GB, free: 14.86 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/1.137, allocations: 0.6752 MB / 1.457 GB, free: 14.19 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004548/1.137, allocations: 300.3 kB / 1.457 GB, free: 13.84 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/1.138, allocations: 0.6657 MB / 1.457 GB, free: 13.16 MB / 1.186 GB Notification: Performance of pre-optimization done (n=113): time 5.641e-06/1.138, allocations: 7.984 kB / 1.457 GB, free: 13.16 MB / 1.186 GB Notification: Performance of matching and sorting (n=113): time 0.005605/1.144, allocations: 2.367 MB / 1.46 GB, free: 10.73 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/1.144, allocations: 72.41 kB / 1.46 GB, free: 10.65 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005441/1.15, allocations: 4.047 MB / 1.464 GB, free: 6.59 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002154/1.15, allocations: 53.7 kB / 1.464 GB, free: 6.531 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/1.151, allocations: 1.291 MB / 1.465 GB, free: 5.23 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004774/1.151, allocations: 374.8 kB / 1.465 GB, free: 4.859 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004183/1.152, allocations: 210.9 kB / 1.466 GB, free: 4.648 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.152, allocations: 357.9 kB / 1.466 GB, free: 4.293 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/1.153, allocations: 0.4944 MB / 1.467 GB, free: 3.797 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/1.154, allocations: 0.7534 MB / 1.467 GB, free: 2.953 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/1.156, allocations: 1.252 MB / 1.468 GB, free: 1.621 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/1.156, allocations: 4 kB / 1.468 GB, free: 1.617 MB / 1.186 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003524/1.16, allocations: 1.772 MB / 1.47 GB, free: 15.82 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.16, allocations: 8 kB / 1.47 GB, free: 15.82 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/1.16, allocations: 4 kB / 1.47 GB, free: 15.81 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006853/1.161, allocations: 232.3 kB / 1.47 GB, free: 15.58 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009602/1.162, allocations: 239.6 kB / 1.471 GB, free: 15.35 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004722/1.166, allocations: 4.617 MB / 1.475 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/1.168, allocations: 149.2 kB / 1.475 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/1.168, allocations: 55.92 kB / 1.475 GB, free: 10.26 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.00155/1.17, allocations: 0.8058 MB / 1.476 GB, free: 9.449 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006177/1.17, allocations: 268.5 kB / 1.476 GB, free: 9.184 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003271/1.174, allocations: 1.648 MB / 1.478 GB, free: 7.516 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002316/1.176, allocations: 1.424 MB / 1.479 GB, free: 6.035 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.176, allocations: 0 / 1.479 GB, free: 6.035 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008587/1.177, allocations: 441.3 kB / 1.48 GB, free: 5.582 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/1.177, allocations: 31.94 kB / 1.48 GB, free: 5.551 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008942/1.178, allocations: 43.95 kB / 1.48 GB, free: 5.508 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/1.178, allocations: 100.8 kB / 1.48 GB, free: 5.41 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003411/1.182, allocations: 1.619 MB / 1.482 GB, free: 3.777 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003454/1.185, allocations: 2.272 MB / 1.484 GB, free: 1.48 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008793/1.186, allocations: 0.566 MB / 1.484 GB, free: 0.918 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003721/1.19, allocations: 2.929 MB / 1.487 GB, free: 13.99 MB / 1.217 GB Notification: Performance of Backend: time 6.91e-07/1.19, allocations: 0 / 1.487 GB, free: 13.99 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00531/1.195, allocations: 2.357 MB / 1.49 GB, free: 11.82 MB / 1.217 GB Notification: Performance of SimCode: time 0.01003/1.205, allocations: 5.868 MB / 1.495 GB, free: 5.926 MB / 1.217 GB Notification: Performance of Templates: time 0.0547/1.26, allocations: 29.32 MB / 1.524 GB, free: 8.863 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches