Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.008052/0.008052, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.00191/0.00191, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.536/2.536, allocations: 437 MB / 0.7106 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 71.88 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.554/0.5554, allocations: 151.6 MB / 1.017 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1534/0.7088, allocations: 154.5 MB / 1.168 GB, free: 7.859 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02358/0.7324, allocations: 21.61 MB / 1.189 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.7345, allocations: 43.75 kB / 1.189 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.7361, allocations: 1.13 MB / 1.19 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.7374, allocations: 0.8098 MB / 1.191 GB, free: 196 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.7385, allocations: 378.8 kB / 1.192 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001229/0.7397, allocations: 1.348 MB / 1.193 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006764/0.7404, allocations: 0.6063 MB / 1.193 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000535/0.741, allocations: 0.4905 MB / 1.194 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009719/0.7419, allocations: 0.9098 MB / 1.195 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.379e-05/0.742, allocations: 40 kB / 1.195 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.7423, allocations: 79.98 kB / 1.195 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.7425, allocations: 304.8 kB / 1.195 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.7429, allocations: 468.8 kB / 1.196 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000776/0.7437, allocations: 0.9161 MB / 1.197 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7437, allocations: 0 / 1.197 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7437, allocations: 0 / 1.197 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.7438, allocations: 0 / 1.197 GB, free: 10.67 MB / 0.9512 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.002232/0.746, allocations: 1.482 MB / 1.198 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.746, allocations: 12.03 kB / 1.198 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.7462, allocations: 139.2 kB / 1.198 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007807/0.747, allocations: 0.655 MB / 1.199 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.7471, allocations: 66.69 kB / 1.199 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.455e-05/0.7472, allocations: 48 kB / 1.199 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009372/0.7482, allocations: 0.5223 MB / 1.199 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.7482, allocations: 0 / 1.199 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.457e-05/0.7483, allocations: 20 kB / 1.199 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.7483, allocations: 12 kB / 1.199 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008224/0.7491, allocations: 411.7 kB / 1.2 GB, free: 7.188 MB / 0.9512 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.003487/0.7526, allocations: 2.803 MB / 1.203 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009917/0.7536, allocations: 469.8 kB / 1.203 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/0.7541, allocations: 274.9 kB / 1.203 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.7542, allocations: 12.59 kB / 1.203 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005485/0.7547, allocations: 301.8 kB / 1.204 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 2.004e-06/0.7548, allocations: 0 / 1.204 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.002842/0.7576, allocations: 1.241 MB / 1.205 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.7577, allocations: 59.34 kB / 1.205 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.7593, allocations: 1.756 MB / 1.207 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.7594, allocations: 37.7 kB / 1.207 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.7598, allocations: 0.5178 MB / 1.207 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.7599, allocations: 149.9 kB / 1.207 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.7601, allocations: 98.23 kB / 1.207 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.7602, allocations: 322 kB / 1.208 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.7606, allocations: 229 kB / 1.208 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/0.7612, allocations: 320.9 kB / 1.208 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008559/0.762, allocations: 0.5116 MB / 1.209 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.762, allocations: 0 / 1.209 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001555/0.7636, allocations: 0.849 MB / 1.209 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.7636, allocations: 12.03 kB / 1.21 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.7637, allocations: 0 / 1.21 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005244/0.7642, allocations: 186.8 kB / 1.21 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.7645, allocations: 103.9 kB / 1.21 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/0.7677, allocations: 2.744 MB / 1.212 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.7682, allocations: 79.55 kB / 1.213 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.7682, allocations: 20 kB / 1.213 GB, free: 9.566 MB / 0.9669 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.0004824/0.7687, allocations: 382.9 kB / 1.213 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.7688, allocations: 118.4 kB / 1.213 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.7691, allocations: 151.6 kB / 1.213 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7691, allocations: 4 kB / 1.213 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.7691, allocations: 4 kB / 1.213 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.7691, allocations: 3.938 kB / 1.213 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.7714, allocations: 1.563 MB / 1.215 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.7714, allocations: 0 / 1.215 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.7717, allocations: 47.97 kB / 1.215 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/0.7722, allocations: 189.6 kB / 1.215 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.7722, allocations: 15.98 kB / 1.215 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003912/0.7761, allocations: 4.123 MB / 1.219 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.7762, allocations: 7.875 kB / 1.219 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.778, allocations: 1.057 MB / 1.22 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.7782, allocations: 219.5 kB / 1.22 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.113e-05/0.7783, allocations: 12 kB / 1.22 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.7787, allocations: 35.97 kB / 1.22 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.7788, allocations: 55.84 kB / 1.22 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.7789, allocations: 12 kB / 1.22 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001324/0.7802, allocations: 1.284 MB / 1.222 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7802, allocations: 0 / 1.222 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008086/0.781, allocations: 211.7 kB / 1.222 GB, free: 15.7 MB / 0.9825 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.001079/0.7821, allocations: 476.8 kB / 1.222 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.7837, allocations: 0.7364 MB / 1.223 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7837, allocations: 0 / 1.223 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008883/0.7846, allocations: 0.5551 MB / 1.224 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.7856, allocations: 190.3 kB / 1.224 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.7894, allocations: 2.741 MB / 1.226 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/0.7901, allocations: 1.149 MB / 1.228 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.7903, allocations: 43.42 kB / 1.228 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of SimCode: time 6.82e-07/0.7903, allocations: 0 / 1.228 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of Templates: time 0.02314/0.8134, allocations: 17.81 MB / 1.245 GB, free: 8.133 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches