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.00121/0.00121, allocations: 101.7 kB / 16.35 MB, free: 5.887 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.001097/0.001097, allocations: 188.6 kB / 17.29 MB, free: 5.527 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 / 241 MB, free: 15.17 MB / 206.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.173/2.173, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001144, allocations: 60.56 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2365, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.6002/0.8367, allocations: 157 MB / 1.172 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02513/0.8619, allocations: 21.88 MB / 1.193 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.8639, allocations: 51.56 kB / 1.194 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.8654, allocations: 1.344 MB / 1.195 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.8668, allocations: 0.9764 MB / 1.196 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.8679, allocations: 0.5033 MB / 1.196 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.8692, allocations: 1.43 MB / 1.198 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007535/0.87, allocations: 0.7844 MB / 1.198 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006202/0.8706, allocations: 0.6436 MB / 1.199 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.8716, allocations: 1.113 MB / 1.2 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.404e-05/0.8717, allocations: 70.06 kB / 1.2 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.872, allocations: 119 kB / 1.2 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.8723, allocations: 373.5 kB / 1.201 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.8727, allocations: 0.5598 MB / 1.201 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.8737, allocations: 1.357 MB / 1.203 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8737, allocations: 0 / 1.203 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.825e-06/0.8738, allocations: 2.469 kB / 1.203 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.8738, allocations: 3.938 kB / 1.203 GB, free: 8.809 MB / 0.9044 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.002156/0.8759, allocations: 1.686 MB / 1.204 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.876, allocations: 16.41 kB / 1.204 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.8762, allocations: 160.5 kB / 1.204 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008695/0.8771, allocations: 0.7463 MB / 1.205 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.8772, allocations: 86.36 kB / 1.205 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/0.8773, allocations: 55.08 kB / 1.205 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008621/0.8782, allocations: 0.5664 MB / 1.206 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.8782, allocations: 7.906 kB / 1.206 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.8782, allocations: 17.03 kB / 1.206 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.8783, allocations: 12.84 kB / 1.206 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007716/0.879, allocations: 447.8 kB / 1.206 GB, free: 6.125 MB / 0.9044 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.003237/0.8823, allocations: 2.994 MB / 1.209 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009146/0.8832, allocations: 0.4919 MB / 1.21 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/0.8837, allocations: 311.6 kB / 1.21 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.8838, allocations: 5.625 kB / 1.21 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005284/0.8843, allocations: 331.7 kB / 1.21 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 1.923e-06/0.8843, allocations: 0 / 1.21 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.002734/0.8871, allocations: 1.346 MB / 1.212 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.8871, allocations: 67.23 kB / 1.212 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.8889, allocations: 2.111 MB / 1.214 GB, free: 0.8086 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.889, allocations: 41.69 kB / 1.214 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.8894, allocations: 0.6207 MB / 1.214 GB, free: 132 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.8896, allocations: 169.6 kB / 1.215 GB, free: 15.96 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.8897, allocations: 106.3 kB / 1.215 GB, free: 15.85 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.8898, allocations: 325.9 kB / 1.215 GB, free: 15.53 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.8903, allocations: 245.1 kB / 1.215 GB, free: 15.29 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/0.8908, allocations: 345.8 kB / 1.216 GB, free: 14.91 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/0.8917, allocations: 0.5491 MB / 1.216 GB, free: 14.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.8917, allocations: 0 / 1.216 GB, free: 14.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001506/0.8932, allocations: 0.9114 MB / 1.217 GB, free: 13.4 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.8932, allocations: 8 kB / 1.217 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.8933, allocations: 4.547 kB / 1.217 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004887/0.8937, allocations: 190.8 kB / 1.217 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.8941, allocations: 107.9 kB / 1.217 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/0.8973, allocations: 3.068 MB / 1.22 GB, free: 9.902 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.8977, allocations: 75.48 kB / 1.22 GB, free: 9.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.8978, allocations: 23.94 kB / 1.22 GB, free: 9.805 MB / 0.92 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 (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) * 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 (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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004992/0.8983, allocations: 439.8 kB / 1.221 GB, free: 9.367 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.8984, allocations: 138.2 kB / 1.221 GB, free: 9.23 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.8986, allocations: 169.9 kB / 1.221 GB, free: 9.051 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.8987, allocations: 4 kB / 1.221 GB, free: 9.047 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.8987, allocations: 7.938 kB / 1.221 GB, free: 9.039 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.8987, allocations: 7.922 kB / 1.221 GB, free: 9.031 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.9011, allocations: 1.735 MB / 1.223 GB, free: 7.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.9011, allocations: 0 / 1.223 GB, free: 7.227 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.9013, allocations: 51.95 kB / 1.223 GB, free: 7.176 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004243/0.9017, allocations: 193.6 kB / 1.223 GB, free: 6.98 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.9018, allocations: 11.98 kB / 1.223 GB, free: 6.969 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003815/0.9056, allocations: 4.618 MB / 1.228 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.9056, allocations: 0 / 1.228 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.9074, allocations: 1.167 MB / 1.229 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002983/0.9077, allocations: 239.2 kB / 1.229 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.204e-05/0.9078, allocations: 15.98 kB / 1.229 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.9081, allocations: 31.97 kB / 1.229 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.9082, allocations: 52.36 kB / 1.229 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.9083, allocations: 19.98 kB / 1.229 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001401/0.9097, allocations: 1.545 MB / 1.231 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9097, allocations: 4 kB / 1.231 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007179/0.9104, allocations: 231.6 kB / 1.231 GB, free: 14.75 MB / 0.9356 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 (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,14,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.001042/0.9115, allocations: 491.5 kB / 1.231 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.9129, allocations: 0.7532 MB / 1.232 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9129, allocations: 4 kB / 1.232 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000833/0.9137, allocations: 0.5782 MB / 1.233 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009216/0.9147, allocations: 237.8 kB / 1.233 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.9181, allocations: 2.768 MB / 1.235 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007392/0.9189, allocations: 1.247 MB / 1.237 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002454/0.9191, allocations: 101.1 kB / 1.237 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.9192, allocations: 51.42 kB / 1.237 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.9193, allocations: 0 / 1.237 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of Templates: time 0.01801/0.9373, allocations: 11.46 MB / 1.248 GB, free: 13.29 MB / 0.9512 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 -s cvode -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/jenkins1/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