Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.724/2.724, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 65.5 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3154, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.177/0.4925, allocations: 157 MB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02596/0.5185, allocations: 21.88 MB / 1.243 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.5209, allocations: 55.69 kB / 1.243 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.523, allocations: 1.34 MB / 1.244 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.5249, allocations: 0.9691 MB / 1.245 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.5264, allocations: 0.4981 MB / 1.246 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001922/0.5283, allocations: 1.422 MB / 1.247 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.53, allocations: 0.7814 MB / 1.248 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.5314, allocations: 0.6387 MB / 1.248 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6732/1.205, allocations: 1.103 MB / 1.25 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004277/1.205, allocations: 72.12 kB / 1.25 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005726/1.206, allocations: 120 kB / 1.25 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004978/1.206, allocations: 371 kB / 1.25 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007883/1.207, allocations: 0.5616 MB / 1.251 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002197/1.209, allocations: 1.342 MB / 1.252 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.209, allocations: 1.031 kB / 1.252 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.024e-06/1.209, allocations: 0 / 1.252 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.465e-05/1.209, allocations: 1.406 kB / 1.252 GB, free: 8.527 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00288/1.212, allocations: 1.679 MB / 1.254 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.212, allocations: 10.12 kB / 1.254 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003016/1.212, allocations: 161.1 kB / 1.254 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/1.214, allocations: 0.7453 MB / 1.254 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/1.214, allocations: 81.42 kB / 1.255 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/1.214, allocations: 48.97 kB / 1.255 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/1.215, allocations: 0.5731 MB / 1.255 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/1.215, allocations: 1.062 kB / 1.255 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/1.215, allocations: 21.17 kB / 1.255 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/1.215, allocations: 11.88 kB / 1.255 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009286/1.216, allocations: 448 kB / 1.256 GB, free: 6.973 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.003929/1.22, allocations: 3.025 MB / 1.259 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/1.221, allocations: 0.4944 MB / 1.259 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005835/1.222, allocations: 314.8 kB / 1.259 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.815e-05/1.222, allocations: 6.484 kB / 1.259 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006634/1.222, allocations: 326.4 kB / 1.26 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 3.497e-06/1.222, allocations: 2.938 kB / 1.26 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.003426/1.226, allocations: 1.348 MB / 1.261 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003847/1.226, allocations: 59.81 kB / 1.261 GB, free: 20.92 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/1.229, allocations: 2.115 MB / 1.263 GB, free: 20.75 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/1.229, allocations: 39.92 kB / 1.263 GB, free: 20.72 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004796/1.23, allocations: 0.6286 MB / 1.264 GB, free: 20.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/1.23, allocations: 167 kB / 1.264 GB, free: 20.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/1.23, allocations: 102 kB / 1.264 GB, free: 20.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.23, allocations: 335.4 kB / 1.264 GB, free: 20.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005339/1.231, allocations: 240.6 kB / 1.265 GB, free: 20.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005625/1.231, allocations: 346.4 kB / 1.265 GB, free: 20.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009566/1.232, allocations: 0.5463 MB / 1.265 GB, free: 19.94 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/1.232, allocations: 3.188 kB / 1.265 GB, free: 19.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00192/1.234, allocations: 0.914 MB / 1.266 GB, free: 19.81 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.234, allocations: 8.688 kB / 1.266 GB, free: 19.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.234, allocations: 4.375 kB / 1.266 GB, free: 19.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005279/1.235, allocations: 196.6 kB / 1.267 GB, free: 19.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/1.235, allocations: 108.1 kB / 1.267 GB, free: 19.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00352/1.239, allocations: 3.038 MB / 1.27 GB, free: 18.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007116/1.239, allocations: 84.58 kB / 1.27 GB, free: 18.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/1.239, allocations: 24.59 kB / 1.27 GB, free: 18.23 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001053/1.24, allocations: 441.6 kB / 1.27 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/1.241, allocations: 134.1 kB / 1.27 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/1.241, allocations: 167.7 kB / 1.27 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/1.241, allocations: 4.719 kB / 1.27 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.89e-05/1.241, allocations: 3.094 kB / 1.27 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/1.241, allocations: 5.016 kB / 1.27 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003593/1.245, allocations: 1.733 MB / 1.272 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.245, allocations: 0 / 1.272 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/1.245, allocations: 50.69 kB / 1.272 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005383/1.246, allocations: 209.2 kB / 1.272 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/1.246, allocations: 15.42 kB / 1.272 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005751/1.251, allocations: 4.607 MB / 1.277 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.251, allocations: 5.672 kB / 1.277 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/1.254, allocations: 1.163 MB / 1.278 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000512/1.255, allocations: 238 kB / 1.278 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/1.255, allocations: 16.48 kB / 1.278 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/1.255, allocations: 33.38 kB / 1.278 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/1.256, allocations: 58.08 kB / 1.278 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.764e-05/1.256, allocations: 18.02 kB / 1.278 GB, free: 14.19 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002659/1.258, allocations: 1.548 MB / 1.28 GB, free: 14.08 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.303e-06/1.258, allocations: 3.75 kB / 1.28 GB, free: 14.08 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001281/1.26, allocations: 223 kB / 1.28 GB, free: 14.06 MB / 1.014 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.001275/1.261, allocations: 485.4 kB / 1.281 GB, free: 13.92 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002087/1.263, allocations: 0.8016 MB / 1.281 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.263, allocations: 0 / 1.281 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/1.264, allocations: 0.5877 MB / 1.282 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/1.266, allocations: 240.6 kB / 1.282 GB, free: 13.51 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005772/1.271, allocations: 2.812 MB / 1.285 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/1.273, allocations: 1.244 MB / 1.286 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005777/1.273, allocations: 100.5 kB / 1.286 GB, free: 11.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/1.273, allocations: 53.12 kB / 1.286 GB, free: 11.93 MB / 1.014 GB Notification: Performance of SimCode: time 1.012e-06/1.273, allocations: 0 / 1.286 GB, free: 11.93 MB / 1.014 GB Notification: Performance of Templates: time 0.02657/1.3, allocations: 11.45 MB / 1.297 GB, free: 11.23 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)