Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004856/0.004856, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001373/0.001373, allocations: 201.2 kB / 16.68 MB, free: 5.973 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.753/2.753, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 68.11 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2636, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.6449/0.9085, allocations: 156.8 MB / 1.395 GB, free: 1.055 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02225/0.9308, allocations: 21.76 MB / 1.416 GB, free: 15.22 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.9321, allocations: 54.53 kB / 1.416 GB, free: 15.2 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.9335, allocations: 1.16 MB / 1.417 GB, free: 14.59 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.9347, allocations: 0.8504 MB / 1.418 GB, free: 14.07 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008684/0.9356, allocations: 454.4 kB / 1.419 GB, free: 13.71 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.9367, allocations: 1.254 MB / 1.42 GB, free: 13 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007166/0.9374, allocations: 0.6751 MB / 1.421 GB, free: 12.6 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005502/0.938, allocations: 0.5553 MB / 1.421 GB, free: 12.3 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008917/0.9389, allocations: 0.9159 MB / 1.422 GB, free: 11.89 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.667e-05/0.939, allocations: 64.97 kB / 1.422 GB, free: 11.89 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.9392, allocations: 107.8 kB / 1.422 GB, free: 11.87 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.9394, allocations: 316.4 kB / 1.422 GB, free: 11.67 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004073/0.9399, allocations: 499.8 kB / 1.423 GB, free: 11.31 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.941, allocations: 1.204 MB / 1.424 GB, free: 10.47 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.941, allocations: 0 / 1.424 GB, free: 10.47 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.032e-06/0.941, allocations: 0 / 1.424 GB, free: 10.47 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.941, allocations: 0 / 1.424 GB, free: 10.47 MB / 1.123 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.002032/0.943, allocations: 1.526 MB / 1.426 GB, free: 9.27 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.9431, allocations: 9.281 kB / 1.426 GB, free: 9.27 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.1e-05/0.9432, allocations: 81.78 kB / 1.426 GB, free: 9.195 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.9433, allocations: 143.7 kB / 1.426 GB, free: 9.117 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007581/0.9441, allocations: 0.672 MB / 1.426 GB, free: 8.547 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.9442, allocations: 74.03 kB / 1.427 GB, free: 8.496 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.378e-05/0.9443, allocations: 50.47 kB / 1.427 GB, free: 8.477 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008133/0.9451, allocations: 0.5224 MB / 1.427 GB, free: 8.152 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.9451, allocations: 3.984 kB / 1.427 GB, free: 8.148 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.9452, allocations: 17.28 kB / 1.427 GB, free: 8.137 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.9452, allocations: 10.41 kB / 1.427 GB, free: 8.137 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007657/0.946, allocations: 417.5 kB / 1.428 GB, free: 7.934 MB / 1.123 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.003195/0.9492, allocations: 2.798 MB / 1.43 GB, free: 5.5 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009109/0.9501, allocations: 456.9 kB / 1.431 GB, free: 5.27 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005242/0.9506, allocations: 281.8 kB / 1.431 GB, free: 5.133 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.9507, allocations: 5.391 kB / 1.431 GB, free: 5.133 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005344/0.9512, allocations: 312.5 kB / 1.431 GB, free: 4.848 MB / 1.123 GB Notification: Performance of pre-optimization done (n=45): time 1.783e-06/0.9512, allocations: 0 / 1.431 GB, free: 4.848 MB / 1.123 GB Notification: Performance of matching and sorting (n=45): time 0.002769/0.954, allocations: 1.239 MB / 1.432 GB, free: 3.559 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.9541, allocations: 59.41 kB / 1.433 GB, free: 3.488 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.9558, allocations: 1.752 MB / 1.434 GB, free: 1.727 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.9558, allocations: 41.7 kB / 1.434 GB, free: 1.68 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004265/0.9563, allocations: 0.5222 MB / 1.435 GB, free: 1.152 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.9564, allocations: 154.8 kB / 1.435 GB, free: 1 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.9566, allocations: 98.23 kB / 1.435 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.9567, allocations: 322 kB / 1.435 GB, free: 0.5742 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.9572, allocations: 221 kB / 1.436 GB, free: 368 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.9577, allocations: 324.9 kB / 1.436 GB, free: 4 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/0.9586, allocations: 0.5181 MB / 1.436 GB, free: 15.45 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9586, allocations: 0 / 1.436 GB, free: 15.45 MB / 1.139 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001546/0.9602, allocations: 0.8637 MB / 1.437 GB, free: 14.58 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.9602, allocations: 5.875 kB / 1.437 GB, free: 14.57 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.9602, allocations: 4.125 kB / 1.437 GB, free: 14.57 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004704/0.9607, allocations: 181.4 kB / 1.437 GB, free: 14.39 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.961, allocations: 95.86 kB / 1.437 GB, free: 14.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/0.9644, allocations: 3.002 MB / 1.44 GB, free: 11.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.9647, allocations: 75.69 kB / 1.44 GB, free: 11.08 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.9648, allocations: 23.98 kB / 1.441 GB, free: 11.06 MB / 1.139 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.0004202/0.9652, allocations: 385.8 kB / 1.441 GB, free: 10.67 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.9653, allocations: 123.1 kB / 1.441 GB, free: 10.55 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.9656, allocations: 139.7 kB / 1.441 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.9656, allocations: 8 kB / 1.441 GB, free: 10.4 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.9656, allocations: 4 kB / 1.441 GB, free: 10.39 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.9656, allocations: 0 / 1.441 GB, free: 10.39 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.9679, allocations: 1.578 MB / 1.443 GB, free: 8.758 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.9679, allocations: 0 / 1.443 GB, free: 8.758 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.9682, allocations: 43.97 kB / 1.443 GB, free: 8.715 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.9686, allocations: 198.1 kB / 1.443 GB, free: 8.516 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.9686, allocations: 12 kB / 1.443 GB, free: 8.504 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004264/0.9729, allocations: 4.551 MB / 1.447 GB, free: 3.676 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.9729, allocations: 4 kB / 1.447 GB, free: 3.672 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.9747, allocations: 1.063 MB / 1.448 GB, free: 2.59 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.9749, allocations: 224.2 kB / 1.449 GB, free: 2.352 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.515e-05/0.975, allocations: 12 kB / 1.449 GB, free: 2.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.9753, allocations: 43.89 kB / 1.449 GB, free: 2.297 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.9754, allocations: 47.94 kB / 1.449 GB, free: 2.25 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.9755, allocations: 15.98 kB / 1.449 GB, free: 2.234 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001311/0.9768, allocations: 1.277 MB / 1.45 GB, free: 0.9531 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9768, allocations: 4 kB / 1.45 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006226/0.9774, allocations: 195.8 kB / 1.45 GB, free: 0.7578 MB / 1.139 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.003578/0.981, allocations: 1.988 MB / 1.452 GB, free: 14.92 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.9824, allocations: 0.7072 MB / 1.453 GB, free: 14.2 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.9824, allocations: 4 kB / 1.453 GB, free: 14.2 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0008472/0.9833, allocations: 0.5637 MB / 1.453 GB, free: 13.61 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008809/0.9841, allocations: 206.2 kB / 1.454 GB, free: 13.42 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.9951, allocations: 8.603 MB / 1.462 GB, free: 4.602 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007527/0.9959, allocations: 1.153 MB / 1.463 GB, free: 3.422 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002128/0.9961, allocations: 92.78 kB / 1.463 GB, free: 3.332 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.9965, allocations: 407.3 kB / 1.464 GB, free: 2.934 MB / 1.154 GB Notification: Performance of SimCode: time 2.71e-07/0.9966, allocations: 0 / 1.464 GB, free: 2.934 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.693/1.69, allocations: 21.27 MB / 1.484 GB, free: 13.98 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/14.18, allocations: 7.719 kB / 1.484 GB, free: 13.98 MB / 1.186 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)