Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_1.6_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.001651/0.001651, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002156/0.002157, allocations: 199.2 kB / 16.14 MB, free: 6.688 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.777/2.777, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 66.41 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2865, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1532/0.4397, allocations: 154.5 MB / 1.218 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02329/0.463, allocations: 21.6 MB / 1.239 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.4648, allocations: 43.75 kB / 1.24 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.4663, allocations: 1.13 MB / 1.241 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.4676, allocations: 0.8138 MB / 1.241 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.4686, allocations: 382.6 kB / 1.242 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.4699, allocations: 1.348 MB / 1.243 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007066/0.4706, allocations: 0.6123 MB / 1.244 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005614/0.4712, allocations: 0.4944 MB / 1.244 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.4722, allocations: 0.9136 MB / 1.245 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.87e-05/0.4723, allocations: 36 kB / 1.245 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.4725, allocations: 87.95 kB / 1.245 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.4728, allocations: 300.8 kB / 1.245 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.4732, allocations: 464.8 kB / 1.246 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009335/0.4741, allocations: 1.156 MB / 1.247 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4741, allocations: 0 / 1.247 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.52e-07/0.4741, allocations: 0 / 1.247 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.4742, allocations: 0 / 1.247 GB, free: 2.438 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.002242/0.4764, allocations: 1.475 MB / 1.248 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.4765, allocations: 8.031 kB / 1.248 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.4766, allocations: 135.2 kB / 1.249 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008002/0.4774, allocations: 0.6588 MB / 1.249 GB, free: 56 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.5469/1.024, allocations: 70.73 kB / 1.249 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/1.025, allocations: 47.52 kB / 1.249 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/1.026, allocations: 0.5208 MB / 1.25 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/1.026, allocations: 1 kB / 1.25 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.763e-05/1.026, allocations: 18.64 kB / 1.25 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/1.026, allocations: 11.59 kB / 1.25 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/1.027, allocations: 414.7 kB / 1.25 GB, free: 187.7 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.004485/1.032, allocations: 2.809 MB / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/1.033, allocations: 450.8 kB / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006163/1.033, allocations: 284.7 kB / 1.254 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/1.034, allocations: 11.3 kB / 1.254 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006186/1.034, allocations: 292.7 kB / 1.254 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 3.466e-06/1.034, allocations: 2.562 kB / 1.254 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.003344/1.038, allocations: 1.24 MB / 1.255 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/1.038, allocations: 64.72 kB / 1.255 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/1.04, allocations: 1.75 MB / 1.257 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/1.04, allocations: 38.77 kB / 1.257 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/1.041, allocations: 0.52 MB / 1.258 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/1.041, allocations: 143.9 kB / 1.258 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/1.041, allocations: 96.27 kB / 1.258 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.309e-05/1.041, allocations: 329 kB / 1.258 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/1.041, allocations: 225.3 kB / 1.258 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/1.042, allocations: 327.6 kB / 1.259 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008191/1.043, allocations: 0.5098 MB / 1.259 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.043, allocations: 2.625 kB / 1.259 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001564/1.044, allocations: 0.8432 MB / 1.26 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.044, allocations: 7.875 kB / 1.26 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/1.044, allocations: 2.625 kB / 1.26 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005354/1.045, allocations: 184.1 kB / 1.26 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/1.045, allocations: 102.3 kB / 1.26 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/1.049, allocations: 2.735 MB / 1.263 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/1.049, allocations: 89.08 kB / 1.263 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/1.049, allocations: 18.56 kB / 1.263 GB, free: 182.1 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.0005549/1.05, allocations: 383.6 kB / 1.263 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/1.05, allocations: 113.3 kB / 1.263 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003199/1.051, allocations: 141.1 kB / 1.264 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/1.051, allocations: 9.188 kB / 1.264 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-05/1.051, allocations: 3.625 kB / 1.264 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.051, allocations: 2.391 kB / 1.264 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/1.054, allocations: 1.564 MB / 1.265 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/1.054, allocations: 3.938 kB / 1.265 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/1.054, allocations: 53.94 kB / 1.265 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005235/1.055, allocations: 189.5 kB / 1.265 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/1.055, allocations: 12.67 kB / 1.265 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003825/1.059, allocations: 4.138 MB / 1.269 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.059, allocations: 3.172 kB / 1.269 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/1.061, allocations: 1.058 MB / 1.27 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/1.061, allocations: 220.1 kB / 1.271 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/1.061, allocations: 9.359 kB / 1.271 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/1.062, allocations: 44 kB / 1.271 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/1.062, allocations: 48.45 kB / 1.271 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/1.062, allocations: 17.81 kB / 1.271 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001826/1.064, allocations: 1.281 MB / 1.272 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.064, allocations: 0 / 1.272 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001028/1.065, allocations: 215 kB / 1.272 GB, free: 176.4 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.001229/1.066, allocations: 484.6 kB / 1.273 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001734/1.068, allocations: 0.7121 MB / 1.273 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.068, allocations: 0 / 1.273 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009495/1.069, allocations: 0.5421 MB / 1.274 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/1.07, allocations: 198.6 kB / 1.274 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/1.074, allocations: 2.702 MB / 1.277 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009967/1.075, allocations: 1.155 MB / 1.278 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003826/1.076, allocations: 89.19 kB / 1.278 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/1.076, allocations: 45.59 kB / 1.278 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.076, allocations: 0 / 1.278 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.0233/1.099, allocations: 9.836 MB / 1.288 GB, free: 170.7 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)