Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.TestCase6,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.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_10_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.001019/0.001019, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001355/0.001355, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240 MB, free: 5.238 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.668/2.668, allocations: 437.7 MB / 0.7117 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003786, allocations: 8 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7467/0.7471, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.178/0.9251, allocations: 142.5 MB / 1.162 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02886/0.954, allocations: 20.36 MB / 1.181 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/0.9567, allocations: 51.69 kB / 1.181 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.9585, allocations: 1.286 MB / 1.183 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.9603, allocations: 0.9111 MB / 1.184 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.9617, allocations: 398.2 kB / 1.184 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001977/0.9637, allocations: 1.337 MB / 1.185 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.9647, allocations: 0.5928 MB / 1.186 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009197/0.9656, allocations: 0.5489 MB / 1.186 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.9669, allocations: 0.9369 MB / 1.187 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.967, allocations: 32 kB / 1.187 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.9673, allocations: 79.97 kB / 1.187 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003238/0.9676, allocations: 338.8 kB / 1.188 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.9679, allocations: 240.9 kB / 1.188 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.969, allocations: 1.009 MB / 1.189 GB, free: 5 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.9691, allocations: 0 / 1.189 GB, free: 5 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.276e-06/0.9691, allocations: 0 / 1.189 GB, free: 5 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.605e-05/0.9691, allocations: 0 / 1.189 GB, free: 5 MB / 0.9356 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.002661/0.9718, allocations: 1.504 MB / 1.19 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.9718, allocations: 12.56 kB / 1.19 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.9721, allocations: 158 kB / 1.191 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000988/0.9731, allocations: 0.6863 MB / 1.191 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.9733, allocations: 82.62 kB / 1.191 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.026e-05/0.9734, allocations: 63.94 kB / 1.191 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.9745, allocations: 0.5731 MB / 1.192 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.9745, allocations: 4 kB / 1.192 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.231e-05/0.9746, allocations: 16 kB / 1.192 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.9746, allocations: 12 kB / 1.192 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009367/0.9755, allocations: 459.7 kB / 1.192 GB, free: 1.32 MB / 0.9356 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.004184/0.9797, allocations: 3.06 MB / 1.195 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.9809, allocations: 0.5113 MB / 1.196 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006025/0.9815, allocations: 317.4 kB / 1.196 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.692e-05/0.9815, allocations: 12.31 kB / 1.196 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006851/0.9822, allocations: 337.2 kB / 1.197 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=52): time 3.136e-06/0.9823, allocations: 0 / 1.197 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=52): time 0.003291/0.9855, allocations: 1.371 MB / 1.198 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.9856, allocations: 59.83 kB / 1.198 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.988, allocations: 2.112 MB / 1.2 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.247e-05/0.9881, allocations: 45.69 kB / 1.2 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005461/0.9887, allocations: 0.6206 MB / 1.201 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.9888, allocations: 165.8 kB / 1.201 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.9889, allocations: 8 kB / 1.201 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.989, allocations: 333.9 kB / 1.201 GB, free: 8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.9896, allocations: 253.2 kB / 1.201 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/0.9902, allocations: 365.8 kB / 1.202 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/0.9908, allocations: 273.5 kB / 1.202 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.9908, allocations: 4 kB / 1.202 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001824/0.9926, allocations: 0.9514 MB / 1.203 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.9927, allocations: 8 kB / 1.203 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.9927, allocations: 8.094 kB / 1.203 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/0.9932, allocations: 188.7 kB / 1.203 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.9936, allocations: 115.8 kB / 1.203 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003595/0.9972, allocations: 2.802 MB / 1.206 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.9978, allocations: 99.48 kB / 1.206 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.9979, allocations: 20 kB / 1.206 GB, free: 2.754 MB / 0.9512 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 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007091/0.9986, allocations: 441.2 kB / 1.206 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.9988, allocations: 138.2 kB / 1.207 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.9991, allocations: 162 kB / 1.207 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.9992, allocations: 8 kB / 1.207 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.9992, allocations: 7.953 kB / 1.207 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.9992, allocations: 11.98 kB / 1.207 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/1.002, allocations: 1.754 MB / 1.209 GB, free: 176 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.002, allocations: 0 / 1.209 GB, free: 176 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/1.003, allocations: 59.89 kB / 1.209 GB, free: 116 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005495/1.003, allocations: 200.8 kB / 1.209 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/1.003, allocations: 19.94 kB / 1.209 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004411/1.008, allocations: 4.169 MB / 1.213 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.008, allocations: 0 / 1.213 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/1.01, allocations: 1.189 MB / 1.214 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/1.011, allocations: 247.3 kB / 1.214 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/1.011, allocations: 19.98 kB / 1.214 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/1.011, allocations: 43.88 kB / 1.214 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/1.012, allocations: 60.33 kB / 1.214 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/1.012, allocations: 24 kB / 1.214 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001829/1.013, allocations: 1.548 MB / 1.216 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/1.013, allocations: 0 / 1.216 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009998/1.014, allocations: 227.7 kB / 1.216 GB, free: 8.062 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001246/1.016, allocations: 480.9 kB / 1.217 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00194/1.018, allocations: 0.7827 MB / 1.217 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.018, allocations: 4.438 kB / 1.217 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/1.019, allocations: 0.5895 MB / 1.218 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/1.02, allocations: 214.3 kB / 1.218 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005193/1.025, allocations: 3.121 MB / 1.221 GB, free: 3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.027, allocations: 1.247 MB / 1.222 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004597/1.027, allocations: 101 kB / 1.222 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/1.027, allocations: 51.42 kB / 1.223 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of SimCode: time 7.71e-07/1.027, allocations: 0 / 1.223 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of Templates: time 0.02358/1.051, allocations: 10.28 MB / 1.233 GB, free: 7.438 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches