Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.995/1.995, allocations: 391.2 MB / 407 MB, free: 10.85 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.001184/0.001184, allocations: 191.5 kB / 499.1 MB, free: 4.688 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.287/1.287, allocations: 222.9 MB / 0.7948 GB, free: 15.81 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.0009397/0.0009397, allocations: 115.9 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009889/0.000989, allocations: 47.72 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2438, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1281/0.372, allocations: 154.5 MB / 1.369 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02255/0.3945, allocations: 21.62 MB / 1.39 GB, free: 4.547 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001999/0.3966, allocations: 43.75 kB / 1.39 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.3983, allocations: 1.126 MB / 1.391 GB, free: 3.375 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.3999, allocations: 0.8138 MB / 1.392 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.4011, allocations: 386.9 kB / 1.392 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001652/0.4028, allocations: 1.356 MB / 1.394 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009389/0.4038, allocations: 0.614 MB / 1.394 GB, free: 212 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008413/0.4046, allocations: 494.3 kB / 1.395 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.4058, allocations: 0.9137 MB / 1.396 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.4059, allocations: 36 kB / 1.396 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.4062, allocations: 79.97 kB / 1.396 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.4065, allocations: 312.7 kB / 1.396 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0005061/0.4071, allocations: 464.8 kB / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.4081, allocations: 1.148 MB / 1.398 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4081, allocations: 4 kB / 1.398 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4082, allocations: 0 / 1.398 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.527e-05/0.4082, allocations: 0 / 1.398 GB, free: 12.78 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.002551/0.4108, allocations: 1.479 MB / 1.399 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4108, allocations: 11.98 kB / 1.399 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.411, allocations: 143.2 kB / 1.399 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008949/0.4119, allocations: 0.655 MB / 1.4 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.4121, allocations: 74.69 kB / 1.4 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.091e-05/0.4122, allocations: 44 kB / 1.4 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009239/0.4131, allocations: 0.5223 MB / 1.4 GB, free: 9.723 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.4131, allocations: 4 kB / 1.4 GB, free: 9.719 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.4132, allocations: 20 kB / 1.4 GB, free: 9.699 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4132, allocations: 8 kB / 1.401 GB, free: 9.691 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008096/0.414, allocations: 407.7 kB / 1.401 GB, free: 9.293 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.003574/0.4176, allocations: 2.811 MB / 1.404 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009701/0.4186, allocations: 452 kB / 1.404 GB, free: 5.785 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.4191, allocations: 287.1 kB / 1.404 GB, free: 5.504 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/0.4192, allocations: 9.094 kB / 1.404 GB, free: 5.496 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005283/0.4197, allocations: 297.8 kB / 1.405 GB, free: 5.195 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=45): time 2.825e-06/0.4197, allocations: 4 kB / 1.405 GB, free: 5.191 MB / 0.9011 GB Notification: Performance of matching and sorting (n=45): time 0.002803/0.4225, allocations: 1.246 MB / 1.406 GB, free: 3.895 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.4226, allocations: 59.34 kB / 1.406 GB, free: 3.824 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.4243, allocations: 1.759 MB / 1.408 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.4244, allocations: 37.7 kB / 1.408 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.4248, allocations: 0.518 MB / 1.408 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.4249, allocations: 149.9 kB / 1.408 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.4251, allocations: 98.16 kB / 1.408 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4252, allocations: 330 kB / 1.409 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/0.4257, allocations: 213 kB / 1.409 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.4262, allocations: 328.9 kB / 1.409 GB, free: 348 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008757/0.4271, allocations: 0.5129 MB / 1.41 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.4271, allocations: 4 kB / 1.41 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001524/0.4286, allocations: 0.8423 MB / 1.411 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.4287, allocations: 9.25 kB / 1.411 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.4287, allocations: 4 kB / 1.411 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004962/0.4292, allocations: 184.9 kB / 1.411 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.4295, allocations: 91.88 kB / 1.411 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/0.4328, allocations: 2.747 MB / 1.414 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.4333, allocations: 83.55 kB / 1.414 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.4333, allocations: 19.98 kB / 1.414 GB, free: 11.68 MB / 0.9167 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.0005122/0.4338, allocations: 392.6 kB / 1.414 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.434, allocations: 114.5 kB / 1.414 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.4342, allocations: 143.6 kB / 1.414 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4343, allocations: 4 kB / 1.414 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.4343, allocations: 4 kB / 1.414 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4343, allocations: 7.984 kB / 1.414 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.4369, allocations: 1.565 MB / 1.416 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4369, allocations: 0 / 1.416 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.4371, allocations: 39.97 kB / 1.416 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004807/0.4376, allocations: 193.6 kB / 1.416 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/0.4377, allocations: 15.98 kB / 1.416 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004088/0.4418, allocations: 4.12 MB / 1.42 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4418, allocations: 4.031 kB / 1.42 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4712/0.913, allocations: 9.773 MB / 1.43 GB, free: 202.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.9133, allocations: 219 kB / 1.43 GB, free: 202.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.77e-05/0.9134, allocations: 9.016 kB / 1.43 GB, free: 202.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.9137, allocations: 35.48 kB / 1.43 GB, free: 202.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.9139, allocations: 58.22 kB / 1.43 GB, free: 202.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.9139, allocations: 17.58 kB / 1.43 GB, free: 202.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001337/0.9153, allocations: 1.28 MB / 1.431 GB, free: 202 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9153, allocations: 0 / 1.431 GB, free: 202 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009845/0.9163, allocations: 308.2 kB / 1.431 GB, free: 202 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,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.0009425/0.9172, allocations: 486.9 kB / 1.432 GB, free: 201.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.9186, allocations: 0.7145 MB / 1.433 GB, free: 201.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.9186, allocations: 6.078 kB / 1.433 GB, free: 201.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007637/0.9194, allocations: 0.5515 MB / 1.433 GB, free: 201.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009071/0.9203, allocations: 187.6 kB / 1.433 GB, free: 201.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.9242, allocations: 3.362 MB / 1.437 GB, free: 199.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007481/0.9249, allocations: 1.171 MB / 1.438 GB, free: 198.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002847/0.9252, allocations: 90.66 kB / 1.438 GB, free: 198.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.9253, allocations: 48.48 kB / 1.438 GB, free: 198.5 MB / 0.9167 GB Notification: Performance of SimCode: time 6.22e-07/0.9254, allocations: 0 / 1.438 GB, free: 198.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.02151/0.9469, allocations: 11.92 MB / 1.45 GB, free: 196 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)