Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001149, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001353/0.001353, allocations: 183 kB / 17.34 MB, free: 5.742 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.16 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.301/2.301, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9331/0.9346, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1922/1.127, allocations: 156.8 MB / 1.242 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03037/1.157, allocations: 21.74 MB / 1.263 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00257/1.16, allocations: 51.69 kB / 1.263 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/1.162, allocations: 1.161 MB / 1.264 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001921/1.164, allocations: 0.864 MB / 1.265 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/1.165, allocations: 444.6 kB / 1.265 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002179/1.167, allocations: 1.259 MB / 1.267 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/1.169, allocations: 0.687 MB / 1.267 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/1.17, allocations: 0.5529 MB / 1.268 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/1.171, allocations: 0.9175 MB / 1.269 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002109/1.171, allocations: 64 kB / 1.269 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000375/1.172, allocations: 120 kB / 1.269 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003455/1.172, allocations: 308.8 kB / 1.269 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005667/1.172, allocations: 496.8 kB / 1.27 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/1.174, allocations: 1.197 MB / 1.271 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/1.174, allocations: 0 / 1.271 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.644e-06/1.174, allocations: 4 kB / 1.271 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.756e-05/1.174, allocations: 0 / 1.271 GB, free: 3.125 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002686/1.177, allocations: 1.477 MB / 1.272 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/1.177, allocations: 8.031 kB / 1.272 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/1.177, allocations: 131.3 kB / 1.272 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000994/1.178, allocations: 0.6628 MB / 1.273 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/1.178, allocations: 82.61 kB / 1.273 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-05/1.178, allocations: 48 kB / 1.273 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/1.179, allocations: 0.5184 MB / 1.274 GB, free: 76 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/1.179, allocations: 0 / 1.274 GB, free: 76 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/1.179, allocations: 16 kB / 1.274 GB, free: 60 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/1.18, allocations: 12 kB / 1.274 GB, free: 48 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008511/1.18, allocations: 411.8 kB / 1.274 GB, free: 15.64 MB / 1.014 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.004615/1.185, allocations: 2.727 MB / 1.277 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/1.186, allocations: 449 kB / 1.277 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007342/1.187, allocations: 313.2 kB / 1.277 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/1.187, allocations: 4.328 kB / 1.277 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005437/1.187, allocations: 275.8 kB / 1.278 GB, free: 11.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 3.056e-06/1.187, allocations: 0 / 1.278 GB, free: 11.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.002752/1.19, allocations: 1.159 MB / 1.279 GB, free: 10.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/1.19, allocations: 59.41 kB / 1.279 GB, free: 10.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/1.193, allocations: 1.764 MB / 1.281 GB, free: 8.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.093e-05/1.193, allocations: 37.7 kB / 1.281 GB, free: 8.547 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/1.193, allocations: 0.525 MB / 1.281 GB, free: 8.016 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/1.193, allocations: 138 kB / 1.281 GB, free: 7.879 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/1.193, allocations: 102.2 kB / 1.281 GB, free: 7.773 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.194, allocations: 326 kB / 1.282 GB, free: 7.449 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/1.194, allocations: 213 kB / 1.282 GB, free: 7.242 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/1.195, allocations: 343.1 kB / 1.282 GB, free: 6.855 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009258/1.196, allocations: 0.5173 MB / 1.283 GB, free: 6.289 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.196, allocations: 3.938 kB / 1.283 GB, free: 6.285 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001583/1.197, allocations: 0.8105 MB / 1.284 GB, free: 5.465 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.197, allocations: 4 kB / 1.284 GB, free: 5.461 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.197, allocations: 4 kB / 1.284 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003955/1.198, allocations: 132.9 kB / 1.284 GB, free: 5.324 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/1.198, allocations: 111.8 kB / 1.284 GB, free: 5.215 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/1.201, allocations: 2.602 MB / 1.286 GB, free: 2.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/1.202, allocations: 75.48 kB / 1.286 GB, free: 2.406 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/1.202, allocations: 20 kB / 1.286 GB, free: 2.387 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006384/1.202, allocations: 391.4 kB / 1.287 GB, free: 1.992 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/1.202, allocations: 118.4 kB / 1.287 GB, free: 1.875 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/1.203, allocations: 143.7 kB / 1.287 GB, free: 1.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.203, allocations: 4 kB / 1.287 GB, free: 1.727 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.203, allocations: 4 kB / 1.287 GB, free: 1.723 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.203, allocations: 0 / 1.287 GB, free: 1.723 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/1.205, allocations: 1.49 MB / 1.289 GB, free: 180 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.205, allocations: 4 kB / 1.289 GB, free: 176 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/1.205, allocations: 47.91 kB / 1.289 GB, free: 128 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003958/1.206, allocations: 157.7 kB / 1.289 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/1.206, allocations: 16 kB / 1.289 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003658/1.209, allocations: 4.01 MB / 1.293 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.209, allocations: 0 / 1.293 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/1.211, allocations: 0.9965 MB / 1.294 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/1.211, allocations: 219.5 kB / 1.294 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.221e-05/1.211, allocations: 8 kB / 1.294 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/1.212, allocations: 31.97 kB / 1.294 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.212, allocations: 47.92 kB / 1.294 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/1.212, allocations: 23.92 kB / 1.294 GB, free: 10.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001382/1.213, allocations: 1.289 MB / 1.295 GB, free: 9.008 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.213, allocations: 0 / 1.295 GB, free: 9.008 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007698/1.214, allocations: 195.9 kB / 1.295 GB, free: 8.816 MB / 1.029 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,12,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.00113/1.215, allocations: 493.7 kB / 1.296 GB, free: 8.516 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001394/1.217, allocations: 0.655 MB / 1.296 GB, free: 7.848 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.217, allocations: 0 / 1.296 GB, free: 7.848 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007821/1.217, allocations: 0.5406 MB / 1.297 GB, free: 7.281 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009852/1.218, allocations: 209.4 kB / 1.297 GB, free: 7.086 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/1.222, allocations: 2.401 MB / 1.3 GB, free: 4.645 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/1.223, allocations: 1.146 MB / 1.301 GB, free: 3.473 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/1.223, allocations: 55.36 kB / 1.301 GB, free: 3.418 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/1.223, allocations: 0 / 1.301 GB, free: 3.418 MB / 1.029 GB Notification: Performance of Templates: time 0.02389/1.247, allocations: 17.86 MB / 1.318 GB, free: 1.582 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches