Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 108 kB / 15.61 MB, free: 148 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.001153/0.001153, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.181/1.181, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.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.088/2.088, allocations: 390.2 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.89 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5335/0.5346, allocations: 140.4 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1578/0.6925, allocations: 156.7 MB / 1.103 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02479/0.7173, allocations: 21.75 MB / 1.124 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.7191, allocations: 51.75 kB / 1.124 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.7208, allocations: 1.157 MB / 1.125 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.7224, allocations: 0.8485 MB / 1.126 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.7235, allocations: 450.2 kB / 1.126 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.7249, allocations: 1.251 MB / 1.128 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008625/0.7257, allocations: 0.685 MB / 1.128 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007594/0.7265, allocations: 0.553 MB / 1.129 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.7276, allocations: 0.9138 MB / 1.13 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.7278, allocations: 64 kB / 1.13 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.7282, allocations: 108 kB / 1.13 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.7285, allocations: 328.6 kB / 1.13 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000553/0.729, allocations: 492.8 kB / 1.131 GB, free: 7.836 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.7302, allocations: 1.179 MB / 1.132 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7302, allocations: 0 / 1.132 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7302, allocations: 0 / 1.132 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.955e-05/0.7303, allocations: 7.984 kB / 1.132 GB, free: 6.645 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.002336/0.7326, allocations: 1.478 MB / 1.133 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.7326, allocations: 8.031 kB / 1.133 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.7328, allocations: 135.2 kB / 1.133 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007752/0.7336, allocations: 0.6589 MB / 1.134 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.7337, allocations: 70.69 kB / 1.134 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.7338, allocations: 47.91 kB / 1.134 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008892/0.7347, allocations: 0.5184 MB / 1.135 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.7347, allocations: 0 / 1.135 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.7348, allocations: 20 kB / 1.135 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.7348, allocations: 8 kB / 1.135 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007644/0.7356, allocations: 415.7 kB / 1.135 GB, free: 3.168 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.003187/0.7388, allocations: 2.807 MB / 1.138 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009423/0.7397, allocations: 463.3 kB / 1.138 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004905/0.7402, allocations: 283.3 kB / 1.138 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.7402, allocations: 12.64 kB / 1.138 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005031/0.7408, allocations: 301.8 kB / 1.139 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 1.913e-06/0.7408, allocations: 0 / 1.139 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.002632/0.7434, allocations: 1.246 MB / 1.14 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.7435, allocations: 63.41 kB / 1.14 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.7452, allocations: 1.752 MB / 1.142 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.7453, allocations: 37.7 kB / 1.142 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/0.7457, allocations: 0.514 MB / 1.142 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.7458, allocations: 149.9 kB / 1.142 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.746, allocations: 98.25 kB / 1.143 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.7461, allocations: 322.4 kB / 1.143 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/0.7466, allocations: 225 kB / 1.143 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.7471, allocations: 324.8 kB / 1.143 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008486/0.748, allocations: 0.5145 MB / 1.144 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.748, allocations: 3.938 kB / 1.144 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001465/0.7495, allocations: 0.849 MB / 1.145 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.7495, allocations: 8 kB / 1.145 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7495, allocations: 0 / 1.145 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004828/0.75, allocations: 186.9 kB / 1.145 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.7503, allocations: 99.81 kB / 1.145 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.7536, allocations: 3.002 MB / 1.148 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.754, allocations: 67.5 kB / 1.148 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.754, allocations: 31.92 kB / 1.148 GB, free: 5.277 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.0004338/0.7545, allocations: 379.4 kB / 1.148 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.7546, allocations: 126.5 kB / 1.148 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.7548, allocations: 135.7 kB / 1.149 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.7548, allocations: 7.984 kB / 1.149 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.7548, allocations: 4 kB / 1.149 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.7548, allocations: 3.984 kB / 1.149 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.7571, allocations: 1.562 MB / 1.15 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7572, allocations: 0 / 1.15 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.7574, allocations: 43.91 kB / 1.15 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004653/0.7578, allocations: 197.6 kB / 1.15 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.7579, allocations: 12 kB / 1.15 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004269/0.7622, allocations: 4.552 MB / 1.155 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.7622, allocations: 0 / 1.155 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.7639, allocations: 1.065 MB / 1.156 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.7641, allocations: 211.6 kB / 1.156 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.124e-05/0.7642, allocations: 19.98 kB / 1.156 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.7645, allocations: 27.97 kB / 1.156 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.7646, allocations: 51.92 kB / 1.156 GB, free: 12.51 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.7647, allocations: 12 kB / 1.156 GB, free: 12.5 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001234/0.7659, allocations: 1.284 MB / 1.157 GB, free: 11.21 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7659, allocations: 4 kB / 1.157 GB, free: 11.21 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006772/0.7666, allocations: 199.7 kB / 1.158 GB, free: 11.01 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.001039/0.7677, allocations: 485.1 kB / 1.158 GB, free: 10.72 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.7692, allocations: 0.7655 MB / 1.159 GB, free: 9.941 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.7692, allocations: 3.938 kB / 1.159 GB, free: 9.938 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008366/0.77, allocations: 0.5442 MB / 1.159 GB, free: 9.367 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.771, allocations: 192.3 kB / 1.16 GB, free: 9.184 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.7743, allocations: 2.395 MB / 1.162 GB, free: 6.758 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007627/0.7751, allocations: 1.153 MB / 1.163 GB, free: 5.578 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002648/0.7753, allocations: 88.77 kB / 1.163 GB, free: 5.492 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.7755, allocations: 47.42 kB / 1.163 GB, free: 5.445 MB / 0.92 GB Notification: Performance of SimCode: time 2.91e-07/0.7755, allocations: 0 / 1.163 GB, free: 5.445 MB / 0.92 GB Notification: Performance of Templates: time 0.0182/0.7937, allocations: 10.45 MB / 1.173 GB, free: 11.13 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches