Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.028/2.028, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 200.1 kB / 499.1 MB, free: 4.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009273/0.0009273, allocations: 107.7 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 51.36 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2314, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1259/0.3573, allocations: 154.5 MB / 1.369 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02218/0.3796, allocations: 21.61 MB / 1.39 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.3814, allocations: 51.69 kB / 1.39 GB, free: 4.438 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.3829, allocations: 1.122 MB / 1.391 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.3842, allocations: 0.8176 MB / 1.392 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.3853, allocations: 379.2 kB / 1.392 GB, free: 2.121 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.3867, allocations: 1.356 MB / 1.394 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006369/0.3874, allocations: 0.6218 MB / 1.394 GB, free: 140 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005324/0.3879, allocations: 0.4906 MB / 1.395 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008386/0.3888, allocations: 0.9059 MB / 1.396 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.3888, allocations: 40 kB / 1.396 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.3891, allocations: 83.84 kB / 1.396 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.3893, allocations: 308.6 kB / 1.396 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003345/0.3896, allocations: 460.8 kB / 1.396 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0008186/0.3905, allocations: 1.152 MB / 1.398 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3905, allocations: 0 / 1.398 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.81e-07/0.3905, allocations: 0 / 1.398 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.3905, allocations: 0 / 1.398 GB, free: 12.71 MB / 0.9011 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.002014/0.3925, allocations: 1.482 MB / 1.399 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3926, allocations: 15.97 kB / 1.399 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.3927, allocations: 135.2 kB / 1.399 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007374/0.3935, allocations: 0.6473 MB / 1.4 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.3936, allocations: 74.69 kB / 1.4 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.3937, allocations: 47.98 kB / 1.4 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008114/0.3945, allocations: 0.5223 MB / 1.4 GB, free: 9.656 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.3945, allocations: 0 / 1.4 GB, free: 9.656 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.3946, allocations: 20 kB / 1.4 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.3946, allocations: 8 kB / 1.4 GB, free: 9.629 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007347/0.3953, allocations: 411.7 kB / 1.401 GB, free: 9.227 MB / 0.9011 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.003029/0.3983, allocations: 2.747 MB / 1.404 GB, free: 6.246 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000843/0.3992, allocations: 441.9 kB / 1.404 GB, free: 5.809 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005609/0.3998, allocations: 307 kB / 1.404 GB, free: 5.512 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.3998, allocations: 4.656 kB / 1.404 GB, free: 5.508 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004891/0.4003, allocations: 287 kB / 1.405 GB, free: 5.215 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=44): time 2.605e-06/0.4003, allocations: 0 / 1.405 GB, free: 5.215 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44): time 0.002338/0.4027, allocations: 1.156 MB / 1.406 GB, free: 4.008 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.4027, allocations: 55.41 kB / 1.406 GB, free: 3.941 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.4042, allocations: 1.756 MB / 1.407 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.4043, allocations: 45.69 kB / 1.408 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.4046, allocations: 0.5249 MB / 1.408 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.546e-05/0.4047, allocations: 138.1 kB / 1.408 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.4049, allocations: 106.2 kB / 1.408 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.405, allocations: 326 kB / 1.409 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.4054, allocations: 212.9 kB / 1.409 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/0.4059, allocations: 339.2 kB / 1.409 GB, free: 448 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007937/0.4067, allocations: 0.5249 MB / 1.41 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4067, allocations: 7.922 kB / 1.41 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001332/0.4081, allocations: 0.8011 MB / 1.41 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4081, allocations: 8 kB / 1.41 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4081, allocations: 4 kB / 1.41 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.4085, allocations: 140.9 kB / 1.411 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.4088, allocations: 103.8 kB / 1.411 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.4112, allocations: 2.382 MB / 1.413 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.4115, allocations: 83.45 kB / 1.413 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.4116, allocations: 20 kB / 1.413 GB, free: 12.18 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003768/0.412, allocations: 392.7 kB / 1.413 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4121, allocations: 110.6 kB / 1.414 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.4123, allocations: 139.7 kB / 1.414 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.4123, allocations: 8 kB / 1.414 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.4123, allocations: 7.875 kB / 1.414 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.4123, allocations: 4 kB / 1.414 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.4143, allocations: 1.484 MB / 1.415 GB, free: 9.969 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4144, allocations: 0 / 1.415 GB, free: 9.969 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.4146, allocations: 51.89 kB / 1.415 GB, free: 9.918 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003431/0.4149, allocations: 157.6 kB / 1.415 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.415, allocations: 15.98 kB / 1.415 GB, free: 9.742 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/0.4179, allocations: 3.688 MB / 1.419 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.418, allocations: 0 / 1.419 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4593/0.8773, allocations: 9.31 MB / 1.428 GB, free: 202.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.8775, allocations: 214.3 kB / 1.428 GB, free: 202.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.112e-05/0.8776, allocations: 14.2 kB / 1.428 GB, free: 202.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.878, allocations: 36.89 kB / 1.428 GB, free: 202.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.8781, allocations: 54.3 kB / 1.428 GB, free: 202.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.8782, allocations: 16.73 kB / 1.428 GB, free: 202.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001315/0.8795, allocations: 1.29 MB / 1.43 GB, free: 202.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8795, allocations: 4.344 kB / 1.43 GB, free: 202.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009946/0.8805, allocations: 294.4 kB / 1.43 GB, free: 202.3 MB / 0.9167 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,12,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.0009593/0.8815, allocations: 483.7 kB / 1.43 GB, free: 202.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.8827, allocations: 0.6621 MB / 1.431 GB, free: 201.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8827, allocations: 3.719 kB / 1.431 GB, free: 201.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006947/0.8834, allocations: 0.5283 MB / 1.432 GB, free: 201.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009324/0.8844, allocations: 186.8 kB / 1.432 GB, free: 201.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.8882, allocations: 3.326 MB / 1.435 GB, free: 199.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00072/0.8889, allocations: 1.171 MB / 1.436 GB, free: 199 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003238/0.8892, allocations: 100.5 kB / 1.436 GB, free: 199 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.8894, allocations: 48.48 kB / 1.436 GB, free: 198.9 MB / 0.9167 GB Notification: Performance of SimCode: time 4.31e-07/0.8894, allocations: 1.125 kB / 1.436 GB, free: 198.9 MB / 0.9167 GB Notification: Performance of Templates: time 0.02193/0.9113, allocations: 11.23 MB / 1.447 GB, free: 196.9 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)