Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TestCase7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001289, allocations: 104.2 kB / 15.98 MB, free: 6.348 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.001245/0.001245, allocations: 193.3 kB / 16.91 MB, free: 6.188 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.824/2.824, allocations: 469.8 MB / 0.7427 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 74.08 kB / 0.9087 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2724, allocations: 159.1 MB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1772/0.4496, allocations: 155.7 MB / 1.216 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02826/0.4779, allocations: 21.87 MB / 1.238 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.4798, allocations: 59.62 kB / 1.238 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.4818, allocations: 1.333 MB / 1.239 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.4836, allocations: 0.9616 MB / 1.24 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.4851, allocations: 0.5804 MB / 1.24 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002021/0.4871, allocations: 1.684 MB / 1.242 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.4884, allocations: 0.9748 MB / 1.243 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009761/0.4894, allocations: 0.7474 MB / 1.244 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.4908, allocations: 1.222 MB / 1.245 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.491, allocations: 92 kB / 1.245 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.4913, allocations: 155.8 kB / 1.245 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004028/0.4918, allocations: 436.4 kB / 1.246 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006257/0.4924, allocations: 0.6558 MB / 1.246 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.4938, allocations: 1.22 MB / 1.247 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4938, allocations: 0 / 1.247 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4938, allocations: 0 / 1.247 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.061e-05/0.4938, allocations: 0 / 1.247 GB, free: 2.281 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003249/0.4971, allocations: 1.918 MB / 1.249 GB, free: 308 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4971, allocations: 8.031 kB / 1.249 GB, free: 300 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/0.4975, allocations: 182.7 kB / 1.249 GB, free: 116 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5359/1.033, allocations: 0.8677 MB / 1.25 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/1.034, allocations: 87.48 kB / 1.25 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/1.034, allocations: 66.06 kB / 1.25 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/1.035, allocations: 0.7214 MB / 1.251 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/1.035, allocations: 1.719 kB / 1.251 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/1.035, allocations: 28.34 kB / 1.251 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/1.035, allocations: 19.88 kB / 1.251 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/1.036, allocations: 0.5414 MB / 1.252 GB, free: 189.3 MB / 0.9981 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.004288/1.041, allocations: 3.626 MB / 1.255 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/1.042, allocations: 0.6158 MB / 1.256 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006975/1.043, allocations: 375.6 kB / 1.256 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-05/1.043, allocations: 7.344 kB / 1.256 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007257/1.043, allocations: 378.4 kB / 1.257 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=65): time 3.176e-06/1.043, allocations: 1.156 kB / 1.257 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65): time 0.004716/1.048, allocations: 1.782 MB / 1.258 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/1.048, allocations: 61.84 kB / 1.258 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/1.051, allocations: 2.251 MB / 1.261 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/1.051, allocations: 41 kB / 1.261 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005022/1.051, allocations: 0.724 MB / 1.261 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/1.051, allocations: 216.9 kB / 1.262 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/1.052, allocations: 127 kB / 1.262 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/1.052, allocations: 332 kB / 1.262 GB, free: 186 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/1.052, allocations: 281.8 kB / 1.262 GB, free: 186 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/1.053, allocations: 420.7 kB / 1.263 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/1.054, allocations: 0.6646 MB / 1.263 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.054, allocations: 2.625 kB / 1.263 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002182/1.056, allocations: 1.114 MB / 1.264 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/1.056, allocations: 13.56 kB / 1.264 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.056, allocations: 2.688 kB / 1.264 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007867/1.057, allocations: 276.6 kB / 1.265 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/1.057, allocations: 118.5 kB / 1.265 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00495/1.062, allocations: 3.735 MB / 1.268 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007551/1.063, allocations: 100.1 kB / 1.269 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/1.063, allocations: 26.78 kB / 1.269 GB, free: 182.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (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,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007104/1.064, allocations: 461 kB / 1.269 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/1.064, allocations: 159.5 kB / 1.269 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/1.064, allocations: 202.8 kB / 1.269 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/1.064, allocations: 6.156 kB / 1.269 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.064, allocations: 0.9688 kB / 1.269 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/1.064, allocations: 3.328 kB / 1.269 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/1.068, allocations: 2.04 MB / 1.271 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.068, allocations: 0 / 1.271 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/1.068, allocations: 62.58 kB / 1.271 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007847/1.069, allocations: 276.3 kB / 1.272 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/1.069, allocations: 21.75 kB / 1.272 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005663/1.075, allocations: 5.234 MB / 1.277 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.075, allocations: 9.406 kB / 1.277 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/1.078, allocations: 1.397 MB / 1.278 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003952/1.078, allocations: 270 kB / 1.278 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/1.078, allocations: 14.89 kB / 1.278 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/1.079, allocations: 49.7 kB / 1.279 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/1.079, allocations: 68.7 kB / 1.279 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/1.079, allocations: 22.62 kB / 1.279 GB, free: 176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001869/1.081, allocations: 1.633 MB / 1.28 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.081, allocations: 1.125 kB / 1.28 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001159/1.082, allocations: 279.2 kB / 1.28 GB, free: 175.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,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 (39): * Single equations (assignments): 29 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001757/1.084, allocations: 487.9 kB / 1.281 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002222/1.086, allocations: 0.9559 MB / 1.282 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.086, allocations: 0 / 1.282 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/1.087, allocations: 0.6699 MB / 1.283 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/1.088, allocations: 297.5 kB / 1.283 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/1.093, allocations: 3.615 MB / 1.286 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009562/1.094, allocations: 1.307 MB / 1.288 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/1.094, allocations: 63.09 kB / 1.288 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.094, allocations: 0 / 1.288 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03025/1.125, allocations: 23.65 MB / 1.311 GB, free: 155.1 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[1],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[1],time