Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001079/0.001079, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.001457/0.001457, allocations: 171.9 kB / 16.26 MB, free: 6.66 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003231, allocations: 13.09 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3108, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1526/0.4634, allocations: 152.4 MB / 1.223 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02525/0.4887, allocations: 21.39 MB / 1.244 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.4906, allocations: 43.75 kB / 1.244 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.4921, allocations: 1.13 MB / 1.245 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.4937, allocations: 0.8099 MB / 1.246 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.4948, allocations: 382.2 kB / 1.246 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.4963, allocations: 1.352 MB / 1.247 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008315/0.4972, allocations: 0.5811 MB / 1.248 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006361/0.4978, allocations: 478.3 kB / 1.248 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.4989, allocations: 0.8902 MB / 1.249 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.128e-05/0.499, allocations: 28 kB / 1.249 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002561/0.4993, allocations: 71.97 kB / 1.249 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.4996, allocations: 288.7 kB / 1.25 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004341/0.5, allocations: 474.5 kB / 1.25 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.5011, allocations: 1.128 MB / 1.251 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5011, allocations: 0 / 1.251 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.367e-06/0.5011, allocations: 0 / 1.251 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.5011, allocations: 7.938 kB / 1.251 GB, free: 1.5 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.002205/0.5033, allocations: 1.312 MB / 1.253 GB, free: 140 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.5034, allocations: 15.97 kB / 1.253 GB, free: 124 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.556/1.059, allocations: 132.5 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/1.06, allocations: 0.6487 MB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/1.061, allocations: 75.09 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.813e-05/1.061, allocations: 50.67 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/1.062, allocations: 0.5236 MB / 1.254 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/1.062, allocations: 11.91 kB / 1.254 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/1.062, allocations: 16.05 kB / 1.254 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/1.062, allocations: 11.03 kB / 1.254 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000959/1.063, allocations: 433.4 kB / 1.254 GB, free: 184.8 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.003588/1.066, allocations: 2.859 MB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/1.068, allocations: 470.8 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005834/1.068, allocations: 293.1 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/1.068, allocations: 5.141 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005968/1.069, allocations: 307.7 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.415e-06/1.069, allocations: 4 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.003033/1.072, allocations: 1.274 MB / 1.259 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/1.072, allocations: 63.41 kB / 1.26 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/1.074, allocations: 1.752 MB / 1.261 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/1.074, allocations: 43.2 kB / 1.261 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/1.074, allocations: 0.5144 MB / 1.262 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/1.074, allocations: 152 kB / 1.262 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/1.074, allocations: 47.84 kB / 1.262 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.669e-05/1.074, allocations: 338 kB / 1.262 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/1.075, allocations: 239.3 kB / 1.263 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/1.075, allocations: 341.5 kB / 1.263 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008342/1.076, allocations: 0.5406 MB / 1.263 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.076, allocations: 3 kB / 1.263 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001552/1.078, allocations: 0.8738 MB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.078, allocations: 11.86 kB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.078, allocations: 5.766 kB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005305/1.078, allocations: 187.5 kB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/1.079, allocations: 105.6 kB / 1.265 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00312/1.082, allocations: 2.753 MB / 1.267 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/1.083, allocations: 91.62 kB / 1.267 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/1.083, allocations: 17.98 kB / 1.267 GB, free: 178.9 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.0005012/1.083, allocations: 389.8 kB / 1.268 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/1.083, allocations: 114.6 kB / 1.268 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/1.083, allocations: 142.1 kB / 1.268 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/1.083, allocations: 4.422 kB / 1.268 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/1.083, allocations: 11.91 kB / 1.268 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.083, allocations: 2.625 kB / 1.268 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/1.086, allocations: 1.588 MB / 1.27 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.086, allocations: 1.812 kB / 1.27 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/1.086, allocations: 53.47 kB / 1.27 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005004/1.087, allocations: 194.8 kB / 1.27 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/1.087, allocations: 12.06 kB / 1.27 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/1.091, allocations: 4.135 MB / 1.274 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.091, allocations: 0 / 1.274 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/1.093, allocations: 1.084 MB / 1.275 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/1.093, allocations: 228.7 kB / 1.275 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/1.093, allocations: 13.06 kB / 1.275 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/1.093, allocations: 46.2 kB / 1.275 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/1.094, allocations: 54.75 kB / 1.275 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/1.094, allocations: 17.17 kB / 1.275 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001591/1.095, allocations: 1.28 MB / 1.276 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.095, allocations: 0 / 1.276 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008917/1.096, allocations: 207.5 kB / 1.277 GB, free: 173.1 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.001119/1.097, allocations: 491.1 kB / 1.277 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001807/1.099, allocations: 0.7372 MB / 1.278 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.099, allocations: 0 / 1.278 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.1, allocations: 0.561 MB / 1.278 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/1.101, allocations: 201.8 kB / 1.279 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/1.105, allocations: 2.783 MB / 1.281 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/1.106, allocations: 1.153 MB / 1.282 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003634/1.106, allocations: 91.16 kB / 1.283 GB, free: 170 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/1.107, allocations: 46.64 kB / 1.283 GB, free: 170 MB / 0.9981 GB Notification: Performance of SimCode: time 9.61e-07/1.107, allocations: 0 / 1.283 GB, free: 170 MB / 0.9981 GB Notification: Performance of Templates: time 0.02168/1.128, allocations: 9.624 MB / 1.292 GB, free: 167.4 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)