Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 178.9 kB / 16.92 MB, free: 6.652 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.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 16 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6852/0.6856, allocations: 142.4 MB / 0.9557 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.174/0.8596, allocations: 152.4 MB / 1.105 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02835/0.888, allocations: 21.37 MB / 1.125 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/0.8905, allocations: 47.69 kB / 1.125 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.8926, allocations: 1.13 MB / 1.127 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001964/0.8946, allocations: 0.8176 MB / 1.127 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.8961, allocations: 379.5 kB / 1.128 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002249/0.8984, allocations: 1.345 MB / 1.129 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.8997, allocations: 0.6021 MB / 1.13 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.9009, allocations: 474.3 kB / 1.13 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.9023, allocations: 0.8825 MB / 1.131 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.9026, allocations: 28 kB / 1.131 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.903, allocations: 71.97 kB / 1.131 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.9034, allocations: 292.6 kB / 1.131 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007009/0.9041, allocations: 470.5 kB / 1.132 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.9053, allocations: 0.8963 MB / 1.133 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.9053, allocations: 0 / 1.133 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.926e-06/0.9053, allocations: 0 / 1.133 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.858e-05/0.9054, allocations: 0 / 1.133 GB, free: 9.602 MB / 0.8887 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.002815/0.9082, allocations: 1.323 MB / 1.134 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.9083, allocations: 12.03 kB / 1.134 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.9086, allocations: 135.2 kB / 1.134 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.9097, allocations: 0.6512 MB / 1.135 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.9099, allocations: 78.62 kB / 1.135 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.91, allocations: 47.91 kB / 1.135 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.9111, allocations: 0.5263 MB / 1.135 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.9112, allocations: 4 kB / 1.135 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.9112, allocations: 16 kB / 1.135 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.9112, allocations: 8 kB / 1.135 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.9122, allocations: 435.7 kB / 1.136 GB, free: 6.254 MB / 0.8887 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.004385/0.9166, allocations: 2.858 MB / 1.139 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.9177, allocations: 477.2 kB / 1.139 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/0.9183, allocations: 299.3 kB / 1.139 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.9184, allocations: 8.328 kB / 1.139 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006193/0.919, allocations: 306.4 kB / 1.14 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=45): time 2.906e-06/0.919, allocations: 4 kB / 1.14 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45): time 0.003184/0.9222, allocations: 1.285 MB / 1.141 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.9223, allocations: 59.41 kB / 1.141 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/0.9247, allocations: 1.748 MB / 1.143 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.249e-05/0.9248, allocations: 41.69 kB / 1.143 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005133/0.9253, allocations: 0.5179 MB / 1.143 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.9255, allocations: 149.8 kB / 1.143 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.9256, allocations: 61.69 kB / 1.143 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.9258, allocations: 322 kB / 1.144 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005595/0.9263, allocations: 237 kB / 1.144 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/0.9269, allocations: 344.8 kB / 1.144 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.928, allocations: 0.5453 MB / 1.145 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.928, allocations: 4 kB / 1.145 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001953/0.93, allocations: 0.8856 MB / 1.146 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.93, allocations: 4 kB / 1.146 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.93, allocations: 4 kB / 1.146 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005588/0.9306, allocations: 182.3 kB / 1.146 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/0.931, allocations: 107.8 kB / 1.146 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.9347, allocations: 2.748 MB / 1.149 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005879/0.9353, allocations: 91.55 kB / 1.149 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/0.9354, allocations: 16 kB / 1.149 GB, free: 8.426 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006109/0.936, allocations: 391.3 kB / 1.149 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.9362, allocations: 114.5 kB / 1.149 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.9365, allocations: 139.6 kB / 1.149 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.9365, allocations: 4 kB / 1.149 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/0.9366, allocations: 15.91 kB / 1.149 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.9366, allocations: 0 / 1.149 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002888/0.9395, allocations: 1.597 MB / 1.151 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.9395, allocations: 0 / 1.151 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.9397, allocations: 51.91 kB / 1.151 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005183/0.9403, allocations: 189.6 kB / 1.151 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/0.9403, allocations: 15.98 kB / 1.151 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004485/0.9448, allocations: 4.127 MB / 1.155 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9448, allocations: 0 / 1.155 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.9469, allocations: 1.092 MB / 1.156 GB, free: 348 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/0.9473, allocations: 223.5 kB / 1.156 GB, free: 104 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.9475, allocations: 12 kB / 1.156 GB, free: 92 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.9478, allocations: 47.95 kB / 1.156 GB, free: 44 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.948, allocations: 44.12 kB / 1.157 GB, free: 16 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/0.9481, allocations: 27.86 kB / 1.157 GB, free: 15.97 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001536/0.9496, allocations: 1.281 MB / 1.158 GB, free: 14.68 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9496, allocations: 0 / 1.158 GB, free: 14.68 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008637/0.9505, allocations: 207.7 kB / 1.158 GB, free: 14.48 MB / 0.92 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,13,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.001183/0.9517, allocations: 486 kB / 1.158 GB, free: 14.19 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.9533, allocations: 0.7578 MB / 1.159 GB, free: 13.42 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.9534, allocations: 0 / 1.159 GB, free: 13.42 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009067/0.9543, allocations: 0.5559 MB / 1.16 GB, free: 12.84 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.9553, allocations: 180.7 kB / 1.16 GB, free: 12.66 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.9593, allocations: 2.832 MB / 1.163 GB, free: 9.793 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000853/0.9602, allocations: 1.149 MB / 1.164 GB, free: 8.613 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.9603, allocations: 43.42 kB / 1.164 GB, free: 8.57 MB / 0.92 GB Notification: Performance of SimCode: time 4.81e-07/0.9604, allocations: 0 / 1.164 GB, free: 8.57 MB / 0.92 GB Notification: Performance of Templates: time 0.02852/0.9889, allocations: 17.63 MB / 1.181 GB, free: 6.977 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches