Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006825/0.006825, allocations: 99.03 kB / 15.73 MB, free: 6.008 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.001625/0.001625, allocations: 196.2 kB / 16.67 MB, free: 5.934 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.655/2.655, allocations: 472.7 MB / 0.7453 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7982, allocations: 159.9 MB / 1.226 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1572/0.9554, allocations: 157 MB / 1.379 GB, free: 56 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02319/0.9787, allocations: 21.88 MB / 1.4 GB, free: 10.11 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.9805, allocations: 55.69 kB / 1.4 GB, free: 10.05 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.9821, allocations: 1.344 MB / 1.402 GB, free: 8.703 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.9835, allocations: 0.9769 MB / 1.403 GB, free: 7.723 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.9846, allocations: 0.5042 MB / 1.403 GB, free: 7.223 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.9859, allocations: 1.446 MB / 1.405 GB, free: 5.773 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007792/0.9867, allocations: 0.7772 MB / 1.405 GB, free: 4.98 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006353/0.9873, allocations: 0.6464 MB / 1.406 GB, free: 4.332 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.9883, allocations: 1.101 MB / 1.407 GB, free: 3.23 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.9885, allocations: 76 kB / 1.407 GB, free: 3.156 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.9887, allocations: 120 kB / 1.407 GB, free: 3.039 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.989, allocations: 376.5 kB / 1.408 GB, free: 2.672 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003998/0.9894, allocations: 0.551 MB / 1.408 GB, free: 2.117 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.9906, allocations: 1.37 MB / 1.409 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.9906, allocations: 0 / 1.409 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9906, allocations: 0 / 1.409 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.9906, allocations: 0 / 1.409 GB, free: 0.7422 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002239/0.9929, allocations: 1.736 MB / 1.411 GB, free: 14.95 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.9929, allocations: 8.031 kB / 1.411 GB, free: 14.94 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.9932, allocations: 167.9 kB / 1.411 GB, free: 14.78 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008274/0.994, allocations: 0.7608 MB / 1.412 GB, free: 13.97 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.9941, allocations: 82.62 kB / 1.412 GB, free: 13.88 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.822e-05/0.9942, allocations: 55.98 kB / 1.412 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009696/0.9952, allocations: 0.5653 MB / 1.413 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.9952, allocations: 0 / 1.413 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.9953, allocations: 20 kB / 1.413 GB, free: 13.23 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.9953, allocations: 12 kB / 1.413 GB, free: 13.21 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008636/0.9962, allocations: 451.6 kB / 1.413 GB, free: 12.77 MB / 1.139 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.003428/0.9996, allocations: 3.002 MB / 1.416 GB, free: 9.492 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/1.001, allocations: 0.4981 MB / 1.417 GB, free: 8.988 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005839/1.001, allocations: 325.4 kB / 1.417 GB, free: 8.668 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/1.001, allocations: 4.375 kB / 1.417 GB, free: 8.664 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005754/1.002, allocations: 325.1 kB / 1.417 GB, free: 8.332 MB / 1.139 GB Notification: Performance of pre-optimization done (n=52): time 1.944e-06/1.002, allocations: 3.938 kB / 1.417 GB, free: 8.328 MB / 1.139 GB Notification: Performance of matching and sorting (n=52): time 0.002921/1.005, allocations: 1.364 MB / 1.419 GB, free: 6.914 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/1.005, allocations: 59.84 kB / 1.419 GB, free: 6.84 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/1.007, allocations: 2.12 MB / 1.421 GB, free: 4.707 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/1.007, allocations: 37.7 kB / 1.421 GB, free: 4.664 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/1.007, allocations: 0.6289 MB / 1.421 GB, free: 4.031 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/1.007, allocations: 186.5 kB / 1.422 GB, free: 3.848 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/1.008, allocations: 102.3 kB / 1.422 GB, free: 3.742 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.008, allocations: 330 kB / 1.422 GB, free: 3.414 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/1.008, allocations: 233.2 kB / 1.422 GB, free: 3.188 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/1.009, allocations: 341.9 kB / 1.423 GB, free: 2.812 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009096/1.01, allocations: 0.55 MB / 1.423 GB, free: 2.227 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.01, allocations: 4 kB / 1.423 GB, free: 2.223 MB / 1.139 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001617/1.011, allocations: 0.9236 MB / 1.424 GB, free: 1.289 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.011, allocations: 8 kB / 1.424 GB, free: 1.281 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.011, allocations: 4 kB / 1.424 GB, free: 1.277 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005099/1.012, allocations: 196.8 kB / 1.424 GB, free: 1.082 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/1.012, allocations: 107.8 kB / 1.424 GB, free: 0.9766 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003428/1.016, allocations: 3.053 MB / 1.427 GB, free: 13.79 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/1.016, allocations: 83.66 kB / 1.427 GB, free: 13.71 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/1.016, allocations: 23.98 kB / 1.427 GB, free: 13.68 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.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 (57): * Single equations (assignments): 56 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005181/1.017, allocations: 427.8 kB / 1.428 GB, free: 13.26 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/1.017, allocations: 143.1 kB / 1.428 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/1.017, allocations: 166 kB / 1.428 GB, free: 12.95 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/1.017, allocations: 11.94 kB / 1.428 GB, free: 12.94 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.017, allocations: 8 kB / 1.428 GB, free: 12.93 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.017, allocations: 7.969 kB / 1.428 GB, free: 12.93 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/1.02, allocations: 1.727 MB / 1.43 GB, free: 11.13 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.02, allocations: 0 / 1.43 GB, free: 11.13 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/1.02, allocations: 55.91 kB / 1.43 GB, free: 11.08 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/1.02, allocations: 201.5 kB / 1.43 GB, free: 10.88 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/1.021, allocations: 15.98 kB / 1.43 GB, free: 10.86 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004182/1.025, allocations: 4.612 MB / 1.435 GB, free: 5.973 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.025, allocations: 0 / 1.435 GB, free: 5.973 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/1.027, allocations: 1.171 MB / 1.436 GB, free: 4.773 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/1.027, allocations: 248 kB / 1.436 GB, free: 4.512 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.903e-05/1.027, allocations: 12 kB / 1.436 GB, free: 4.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/1.028, allocations: 39.95 kB / 1.436 GB, free: 4.461 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/1.028, allocations: 56.3 kB / 1.436 GB, free: 4.406 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/1.028, allocations: 19.98 kB / 1.436 GB, free: 4.387 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001621/1.03, allocations: 1.549 MB / 1.438 GB, free: 2.84 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.03, allocations: 0 / 1.438 GB, free: 2.84 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007366/1.03, allocations: 215.8 kB / 1.438 GB, free: 2.629 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 Backend phase and start with SimCode phase: time 0.001098/1.031, allocations: 496.7 kB / 1.438 GB, free: 2.324 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001505/1.033, allocations: 0.761 MB / 1.439 GB, free: 1.551 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.033, allocations: 4.125 kB / 1.439 GB, free: 1.547 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0008891/1.034, allocations: 0.5775 MB / 1.44 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/1.035, allocations: 230.4 kB / 1.44 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/1.039, allocations: 2.834 MB / 1.443 GB, free: 13.86 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008697/1.04, allocations: 1.243 MB / 1.444 GB, free: 12.58 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00029/1.04, allocations: 101.1 kB / 1.444 GB, free: 12.48 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/1.04, allocations: 55.42 kB / 1.444 GB, free: 12.43 MB / 1.17 GB Notification: Performance of SimCode: time 4.41e-07/1.04, allocations: 0 / 1.444 GB, free: 12.43 MB / 1.17 GB Notification: Performance of Templates: time 0.02176/1.062, allocations: 11.59 MB / 1.455 GB, free: 0.9766 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches