Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009392/0.0009394, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.006459/0.006459, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.799/2.799, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 15.42 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3089, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1618/0.4707, allocations: 152.4 MB / 1.223 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02435/0.4951, allocations: 21.38 MB / 1.244 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.4967, allocations: 51.69 kB / 1.244 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.4982, allocations: 1.13 MB / 1.245 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.4996, allocations: 0.806 MB / 1.246 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.5007, allocations: 382.9 kB / 1.246 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.502, allocations: 1.345 MB / 1.247 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007234/0.5028, allocations: 0.585 MB / 1.248 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005806/0.5034, allocations: 474.3 kB / 1.248 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009461/0.5043, allocations: 0.8902 MB / 1.249 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.943e-05/0.5044, allocations: 32 kB / 1.249 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.5046, allocations: 71.97 kB / 1.249 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.5049, allocations: 292.6 kB / 1.25 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.5053, allocations: 470.5 kB / 1.25 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009172/0.5062, allocations: 1.121 MB / 1.251 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5062, allocations: 0 / 1.251 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5062, allocations: 0 / 1.251 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.5062, allocations: 0 / 1.251 GB, free: 1.457 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.001986/0.5082, allocations: 1.323 MB / 1.253 GB, free: 84 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5083, allocations: 8.031 kB / 1.253 GB, free: 76 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5473/1.056, allocations: 135 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/1.057, allocations: 0.6515 MB / 1.253 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/1.057, allocations: 75.62 kB / 1.253 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.166e-05/1.057, allocations: 47.77 kB / 1.253 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/1.058, allocations: 0.5249 MB / 1.254 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/1.058, allocations: 10.95 kB / 1.254 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.665e-05/1.058, allocations: 19.56 kB / 1.254 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/1.058, allocations: 10.72 kB / 1.254 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009687/1.059, allocations: 430.4 kB / 1.254 GB, free: 184.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.003849/1.063, allocations: 2.86 MB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/1.064, allocations: 480.2 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/1.065, allocations: 293.7 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/1.065, allocations: 4.734 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005823/1.065, allocations: 308 kB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.325e-06/1.065, allocations: 0 / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.003058/1.068, allocations: 1.276 MB / 1.259 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/1.068, allocations: 64.72 kB / 1.26 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/1.07, allocations: 1.751 MB / 1.261 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/1.071, allocations: 44.27 kB / 1.261 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/1.071, allocations: 0.5145 MB / 1.262 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.882e-05/1.071, allocations: 146.2 kB / 1.262 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.989e-05/1.071, allocations: 55.59 kB / 1.262 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.856e-05/1.071, allocations: 329.6 kB / 1.262 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004963/1.072, allocations: 235.3 kB / 1.263 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/1.072, allocations: 349.6 kB / 1.263 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008654/1.073, allocations: 0.5378 MB / 1.263 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.073, allocations: 0 / 1.263 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001601/1.075, allocations: 0.8853 MB / 1.264 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.075, allocations: 12.38 kB / 1.264 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.075, allocations: 2.625 kB / 1.264 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005045/1.075, allocations: 188 kB / 1.264 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/1.076, allocations: 101 kB / 1.265 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/1.079, allocations: 2.751 MB / 1.267 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005382/1.079, allocations: 89.05 kB / 1.267 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/1.079, allocations: 19.23 kB / 1.267 GB, free: 178.8 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.0005027/1.08, allocations: 386 kB / 1.268 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/1.08, allocations: 119.6 kB / 1.268 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/1.08, allocations: 148.2 kB / 1.268 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.08, allocations: 4.156 kB / 1.268 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/1.08, allocations: 6.781 kB / 1.268 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/1.08, allocations: 2.156 kB / 1.268 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/1.083, allocations: 1.594 MB / 1.27 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.083, allocations: 0 / 1.27 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/1.083, allocations: 48.8 kB / 1.27 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004813/1.083, allocations: 193.2 kB / 1.27 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/1.083, allocations: 14.09 kB / 1.27 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003583/1.087, allocations: 4.137 MB / 1.274 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.087, allocations: 0 / 1.274 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/1.089, allocations: 1.083 MB / 1.275 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/1.089, allocations: 227.4 kB / 1.275 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-05/1.09, allocations: 10.14 kB / 1.275 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/1.09, allocations: 48.95 kB / 1.275 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/1.09, allocations: 51.31 kB / 1.275 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/1.09, allocations: 16.44 kB / 1.275 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001491/1.092, allocations: 1.282 MB / 1.276 GB, free: 173 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.092, allocations: 0 / 1.276 GB, free: 173 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009059/1.093, allocations: 210.7 kB / 1.277 GB, free: 173 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.001092/1.094, allocations: 494.3 kB / 1.277 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00176/1.095, allocations: 0.7366 MB / 1.278 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.095, allocations: 0.5312 kB / 1.278 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/1.096, allocations: 0.5627 MB / 1.278 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/1.098, allocations: 183.9 kB / 1.279 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/1.101, allocations: 2.79 MB / 1.281 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008248/1.102, allocations: 1.154 MB / 1.282 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003916/1.103, allocations: 83.02 kB / 1.283 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/1.103, allocations: 41.64 kB / 1.283 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.353e-06/1.103, allocations: 0 / 1.283 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02273/1.126, allocations: 9.632 MB / 1.292 GB, free: 167.3 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)