Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TestCase6,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.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_9_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.001529/0.001529, allocations: 102.2 kB / 16.27 MB, free: 6 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.001711/0.001711, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.323/1.323, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.309/2.309, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 66.14 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3823, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.8715/1.254, allocations: 157 MB / 1.104 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0324/1.286, allocations: 21.87 MB / 1.125 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003697/1.29, allocations: 56.02 kB / 1.125 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002543/1.293, allocations: 1.342 MB / 1.126 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002852/1.296, allocations: 0.979 MB / 1.127 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/1.298, allocations: 0.4977 MB / 1.128 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003119/1.301, allocations: 1.43 MB / 1.129 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/1.303, allocations: 0.7856 MB / 1.13 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/1.304, allocations: 0.6386 MB / 1.131 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/1.306, allocations: 1.1 MB / 1.132 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001856/1.306, allocations: 72.28 kB / 1.132 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004804/1.307, allocations: 124 kB / 1.132 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004038/1.307, allocations: 381.8 kB / 1.132 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000598/1.308, allocations: 0.5528 MB / 1.133 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/1.31, allocations: 1.346 MB / 1.134 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/1.31, allocations: 0.875 kB / 1.134 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.232e-06/1.31, allocations: 1.031 kB / 1.134 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.451e-05/1.31, allocations: 0 / 1.134 GB, free: 6.312 MB / 0.8575 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.003088/1.313, allocations: 1.679 MB / 1.136 GB, free: 21.34 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.313, allocations: 9.219 kB / 1.136 GB, free: 21.34 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003227/1.313, allocations: 159 kB / 1.136 GB, free: 21.26 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/1.314, allocations: 0.7513 MB / 1.137 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/1.314, allocations: 77 kB / 1.137 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/1.314, allocations: 55.03 kB / 1.137 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/1.315, allocations: 0.5698 MB / 1.137 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/1.315, allocations: 0 / 1.137 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.528e-05/1.316, allocations: 19.56 kB / 1.137 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/1.316, allocations: 11.44 kB / 1.137 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009735/1.317, allocations: 448.3 kB / 1.138 GB, free: 20.73 MB / 0.8731 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.004305/1.321, allocations: 3.023 MB / 1.141 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/1.322, allocations: 0.4937 MB / 1.141 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/1.323, allocations: 312.9 kB / 1.141 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.299e-05/1.323, allocations: 7.344 kB / 1.141 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006689/1.323, allocations: 328.3 kB / 1.142 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=52): time 2.896e-06/1.323, allocations: 0 / 1.142 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=52): time 0.003458/1.327, allocations: 1.354 MB / 1.143 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/1.327, allocations: 59.84 kB / 1.143 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/1.33, allocations: 2.117 MB / 1.145 GB, free: 18.22 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.249e-05/1.33, allocations: 37.64 kB / 1.145 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005427/1.331, allocations: 0.6243 MB / 1.146 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/1.331, allocations: 169.2 kB / 1.146 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/1.331, allocations: 109.8 kB / 1.146 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.331, allocations: 329.7 kB / 1.146 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/1.332, allocations: 235.4 kB / 1.147 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/1.332, allocations: 357.2 kB / 1.147 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/1.333, allocations: 0.5509 MB / 1.148 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.333, allocations: 1.625 kB / 1.148 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002019/1.335, allocations: 0.9126 MB / 1.148 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/1.335, allocations: 6.219 kB / 1.148 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.335, allocations: 4.156 kB / 1.148 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/1.336, allocations: 194.9 kB / 1.149 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/1.336, allocations: 104.7 kB / 1.149 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/1.34, allocations: 3.052 MB / 1.152 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/1.341, allocations: 78.11 kB / 1.152 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/1.341, allocations: 21.69 kB / 1.152 GB, free: 13.99 MB / 0.8731 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.001137/1.342, allocations: 443.2 kB / 1.152 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/1.342, allocations: 137.1 kB / 1.152 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005486/1.343, allocations: 171.8 kB / 1.153 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/1.343, allocations: 5.688 kB / 1.153 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.747e-05/1.343, allocations: 7.906 kB / 1.153 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.343, allocations: 2.672 kB / 1.153 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004467/1.348, allocations: 1.734 MB / 1.154 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.348, allocations: 0 / 1.154 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/1.348, allocations: 53.47 kB / 1.154 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007597/1.349, allocations: 201.8 kB / 1.154 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.666e-05/1.349, allocations: 14.72 kB / 1.154 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006619/1.355, allocations: 4.611 MB / 1.159 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.355, allocations: 0 / 1.159 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/1.359, allocations: 1.163 MB / 1.16 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006726/1.36, allocations: 241.5 kB / 1.16 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/1.36, allocations: 18.38 kB / 1.16 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/1.36, allocations: 32.69 kB / 1.16 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/1.361, allocations: 57.08 kB / 1.16 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/1.361, allocations: 21.12 kB / 1.16 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003221/1.364, allocations: 1.549 MB / 1.162 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.81e-07/1.364, allocations: 0.9688 kB / 1.162 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001759/1.366, allocations: 220.5 kB / 1.162 GB, free: 7.668 MB / 0.8731 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.001897/1.368, allocations: 488.1 kB / 1.163 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00288/1.371, allocations: 0.801 MB / 1.163 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.371, allocations: 3.094 kB / 1.163 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/1.372, allocations: 0.5835 MB / 1.164 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/1.374, allocations: 232 kB / 1.164 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007288/1.381, allocations: 2.874 MB / 1.167 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/1.383, allocations: 1.227 MB / 1.168 GB, free: 4.688 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/1.383, allocations: 54.03 kB / 1.168 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of SimCode: time 1.242e-06/1.383, allocations: 0 / 1.168 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of Templates: time 0.04284/1.426, allocations: 20.39 MB / 1.188 GB, free: 12.38 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches