Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001151/0.001151, allocations: 192.2 kB / 16.13 MB, free: 6.711 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.726/2.726, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 62.59 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2937, allocations: 159.9 MB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1542/0.448, allocations: 154.5 MB / 1.218 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02197/0.47, allocations: 21.61 MB / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.4714, allocations: 43.75 kB / 1.24 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.4729, allocations: 1.13 MB / 1.241 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.474, allocations: 0.8138 MB / 1.241 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008735/0.4749, allocations: 386.6 kB / 1.242 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.476, allocations: 1.352 MB / 1.243 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006775/0.4767, allocations: 0.6084 MB / 1.244 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005236/0.4773, allocations: 0.5022 MB / 1.244 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009222/0.4782, allocations: 0.9136 MB / 1.245 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.72e-05/0.4783, allocations: 36 kB / 1.245 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.4785, allocations: 79.98 kB / 1.245 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.4788, allocations: 300.8 kB / 1.245 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003758/0.4792, allocations: 464.8 kB / 1.246 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009278/0.4801, allocations: 1.148 MB / 1.247 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4801, allocations: 0 / 1.247 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4801, allocations: 0 / 1.247 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.4801, allocations: 0 / 1.247 GB, free: 2.422 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.002196/0.4823, allocations: 1.482 MB / 1.248 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4824, allocations: 8.031 kB / 1.248 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.4826, allocations: 135.2 kB / 1.249 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007699/0.4833, allocations: 0.6589 MB / 1.249 GB, free: 32 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4728/0.9562, allocations: 69.97 kB / 1.249 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.9564, allocations: 46.16 kB / 1.249 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.9576, allocations: 0.5199 MB / 1.25 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.9576, allocations: 0 / 1.25 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.797e-05/0.9577, allocations: 17.64 kB / 1.25 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.9577, allocations: 13.06 kB / 1.25 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009135/0.9586, allocations: 410.3 kB / 1.25 GB, free: 187.6 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.003724/0.9624, allocations: 2.742 MB / 1.253 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.9634, allocations: 435.8 kB / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006731/0.9641, allocations: 305 kB / 1.254 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.9641, allocations: 10.16 kB / 1.254 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005942/0.9647, allocations: 291.7 kB / 1.254 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.785e-06/0.9648, allocations: 0 / 1.254 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002805/0.9676, allocations: 1.146 MB / 1.255 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.9676, allocations: 63.44 kB / 1.255 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/0.9696, allocations: 1.76 MB / 1.257 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.9696, allocations: 39.36 kB / 1.257 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/0.9699, allocations: 0.531 MB / 1.257 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.419e-05/0.97, allocations: 140.5 kB / 1.258 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.9702, allocations: 99.58 kB / 1.258 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.607e-05/0.9702, allocations: 329.6 kB / 1.258 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.9707, allocations: 208 kB / 1.258 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.9711, allocations: 337.9 kB / 1.258 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007856/0.9719, allocations: 0.5183 MB / 1.259 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.972, allocations: 0 / 1.259 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001358/0.9733, allocations: 0.8025 MB / 1.26 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.9733, allocations: 9.812 kB / 1.26 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.9734, allocations: 6.562 kB / 1.26 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.9738, allocations: 140.9 kB / 1.26 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.9741, allocations: 104 kB / 1.26 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.9766, allocations: 2.379 MB / 1.262 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.9772, allocations: 90.02 kB / 1.262 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.9772, allocations: 21.92 kB / 1.262 GB, free: 182.3 MB / 0.9981 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.0005281/0.9778, allocations: 384.6 kB / 1.263 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.9779, allocations: 124.9 kB / 1.263 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.9781, allocations: 139.4 kB / 1.263 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.9781, allocations: 3.281 kB / 1.263 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.346e-05/0.9782, allocations: 4.781 kB / 1.263 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.9782, allocations: 6.094 kB / 1.263 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.9807, allocations: 1.489 MB / 1.265 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9807, allocations: 0 / 1.265 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.9809, allocations: 49.19 kB / 1.265 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004016/0.9813, allocations: 158 kB / 1.265 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.9814, allocations: 18.66 kB / 1.265 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/0.9844, allocations: 3.695 MB / 1.268 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9844, allocations: 3.938 kB / 1.268 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.9861, allocations: 0.9852 MB / 1.269 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.9863, allocations: 211.8 kB / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-05/0.9864, allocations: 13.75 kB / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.9868, allocations: 42.47 kB / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.9869, allocations: 55.69 kB / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.9869, allocations: 13.3 kB / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001554/0.9885, allocations: 1.288 MB / 1.271 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.9885, allocations: 0 / 1.271 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000931/0.9895, allocations: 202.7 kB / 1.271 GB, free: 176.8 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,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.001126/0.9906, allocations: 483.4 kB / 1.272 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.9919, allocations: 0.6649 MB / 1.272 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.992, allocations: 4.062 kB / 1.272 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007906/0.9928, allocations: 0.5178 MB / 1.273 GB, free: 176 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.9938, allocations: 189.7 kB / 1.273 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.9979, allocations: 2.689 MB / 1.276 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007381/0.9986, allocations: 1.148 MB / 1.277 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000323/0.999, allocations: 101.1 kB / 1.277 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.9991, allocations: 46.14 kB / 1.277 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.9991, allocations: 0 / 1.277 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.01874/1.018, allocations: 9.415 MB / 1.286 GB, free: 171.6 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)