Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001848/0.001848, allocations: 193.2 kB / 16.25 MB, free: 6.633 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.754/2.754, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 65.69 kB / 0.9115 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2905, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1682/0.4588, allocations: 154.6 MB / 1.219 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0244/0.4832, allocations: 21.49 MB / 1.24 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.4852, allocations: 59.56 kB / 1.24 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.4867, allocations: 1.13 MB / 1.241 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.488, allocations: 0.8138 MB / 1.242 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009747/0.4889, allocations: 386.7 kB / 1.242 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001161/0.4901, allocations: 1.259 MB / 1.243 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007406/0.4909, allocations: 0.6833 MB / 1.244 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005912/0.4915, allocations: 0.5568 MB / 1.244 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009299/0.4924, allocations: 0.9566 MB / 1.245 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.4925, allocations: 68 kB / 1.245 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.4927, allocations: 111.9 kB / 1.246 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002609/0.493, allocations: 332.8 kB / 1.246 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.4934, allocations: 492.8 kB / 1.246 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009924/0.4944, allocations: 1.179 MB / 1.247 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4944, allocations: 0 / 1.247 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4944, allocations: 0 / 1.247 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.4945, allocations: 0 / 1.247 GB, free: 2.031 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002147/0.4966, allocations: 1.478 MB / 1.249 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.4967, allocations: 12.03 kB / 1.249 GB, free: 500 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.4968, allocations: 135.2 kB / 1.249 GB, free: 364 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5646/1.061, allocations: 0.6539 MB / 1.25 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/1.062, allocations: 70.11 kB / 1.25 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.537e-05/1.062, allocations: 48.39 kB / 1.25 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/1.063, allocations: 0.5187 MB / 1.25 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/1.063, allocations: 1.406 kB / 1.25 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/1.063, allocations: 14.72 kB / 1.25 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/1.063, allocations: 17.47 kB / 1.25 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/1.064, allocations: 416.4 kB / 1.251 GB, free: 187.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.004822/1.069, allocations: 2.799 MB / 1.253 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/1.07, allocations: 466.6 kB / 1.254 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/1.071, allocations: 281.9 kB / 1.254 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.291e-05/1.071, allocations: 10.19 kB / 1.254 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005993/1.071, allocations: 293.8 kB / 1.254 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 3.106e-06/1.071, allocations: 0 / 1.254 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.003065/1.075, allocations: 1.24 MB / 1.256 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/1.075, allocations: 63.97 kB / 1.256 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/1.077, allocations: 1.751 MB / 1.257 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/1.077, allocations: 35.64 kB / 1.257 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/1.077, allocations: 0.5267 MB / 1.258 GB, free: 185 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.86e-05/1.077, allocations: 142.9 kB / 1.258 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/1.077, allocations: 97.19 kB / 1.258 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.518e-05/1.077, allocations: 334.2 kB / 1.259 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/1.078, allocations: 220.6 kB / 1.259 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/1.078, allocations: 328.3 kB / 1.259 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007707/1.079, allocations: 0.5103 MB / 1.26 GB, free: 184 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.079, allocations: 4 kB / 1.26 GB, free: 184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001489/1.081, allocations: 0.8454 MB / 1.26 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.081, allocations: 5.25 kB / 1.26 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.081, allocations: 4.953 kB / 1.26 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005224/1.081, allocations: 187.7 kB / 1.261 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/1.082, allocations: 94.58 kB / 1.261 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003103/1.085, allocations: 2.997 MB / 1.264 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/1.085, allocations: 83.39 kB / 1.264 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/1.085, allocations: 21.41 kB / 1.264 GB, free: 181.4 MB / 0.9981 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.0005265/1.086, allocations: 393.7 kB / 1.264 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/1.086, allocations: 112 kB / 1.264 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/1.086, allocations: 145.8 kB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.086, allocations: 5.594 kB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.327e-05/1.086, allocations: 5 kB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/1.086, allocations: 2.438 kB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/1.089, allocations: 1.559 MB / 1.266 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/1.089, allocations: 0.6562 kB / 1.266 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/1.089, allocations: 42.48 kB / 1.266 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005001/1.09, allocations: 197.8 kB / 1.266 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/1.09, allocations: 16.17 kB / 1.266 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004174/1.094, allocations: 4.553 MB / 1.271 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/1.094, allocations: 0.7969 kB / 1.271 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/1.096, allocations: 1.058 MB / 1.272 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/1.097, allocations: 216.6 kB / 1.272 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/1.097, allocations: 17.52 kB / 1.272 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/1.097, allocations: 35.88 kB / 1.272 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/1.097, allocations: 61.62 kB / 1.272 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/1.097, allocations: 17.27 kB / 1.272 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002036/1.099, allocations: 1.286 MB / 1.273 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.81e-07/1.099, allocations: 0 / 1.273 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001009/1.1, allocations: 207.1 kB / 1.273 GB, free: 175.2 MB / 0.9981 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.001277/1.102, allocations: 478.4 kB / 1.274 GB, free: 175 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002015/1.104, allocations: 0.7499 MB / 1.275 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/1.104, allocations: 1.031 kB / 1.275 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/1.105, allocations: 0.5513 MB / 1.275 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.00119/1.106, allocations: 200.2 kB / 1.275 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004336/1.11, allocations: 2.711 MB / 1.278 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.111, allocations: 1.155 MB / 1.279 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004643/1.112, allocations: 91.33 kB / 1.279 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/1.112, allocations: 45.73 kB / 1.279 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.112, allocations: 0 / 1.279 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.02174/1.134, allocations: 10.23 MB / 1.289 GB, free: 169.3 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)