Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009764/0.0009764, 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.001023/0.001023, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.155/1.155, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.347/1.347, allocations: 251.7 MB / 0.5092 GB, free: 3.047 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.91 kB / 0.6223 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4331, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1414/0.5746, allocations: 156.7 MB / 0.8776 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02172/0.5964, allocations: 21.56 MB / 0.8986 GB, free: 9.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.5979, allocations: 51.69 kB / 0.8987 GB, free: 9.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.5993, allocations: 1.165 MB / 0.8998 GB, free: 8.773 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001111/0.6004, allocations: 0.8601 MB / 0.9006 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.6013, allocations: 402.4 kB / 0.901 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009578/0.6022, allocations: 1.247 MB / 0.9022 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006409/0.6029, allocations: 0.6869 MB / 0.9029 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005014/0.6034, allocations: 0.5491 MB / 0.9034 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008097/0.6042, allocations: 0.9099 MB / 0.9043 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.091e-05/0.6043, allocations: 64 kB / 0.9044 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.6045, allocations: 108 kB / 0.9045 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.6048, allocations: 320.7 kB / 0.9048 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003406/0.6051, allocations: 488.8 kB / 0.9053 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008795/0.606, allocations: 1.187 MB / 0.9064 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.606, allocations: 0 / 0.9064 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.606, allocations: 0 / 0.9064 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.606, allocations: 0 / 0.9064 GB, free: 1.965 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001984/0.608, allocations: 1.475 MB / 0.9079 GB, free: 448 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.6081, allocations: 8.031 kB / 0.9079 GB, free: 440 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.6082, allocations: 139.2 kB / 0.908 GB, free: 300 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2687/0.877, allocations: 0.6462 MB / 0.9086 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.8771, allocations: 72.67 kB / 0.9087 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.53e-05/0.8772, allocations: 48.84 kB / 0.9088 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/0.8781, allocations: 0.5149 MB / 0.9093 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.8782, allocations: 4.688 kB / 0.9093 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/0.8782, allocations: 17.31 kB / 0.9093 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.8782, allocations: 14.78 kB / 0.9093 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007674/0.879, allocations: 409.6 kB / 0.9097 GB, free: 185.5 MB / 0.7169 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.002961/0.882, allocations: 2.804 MB / 0.9124 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009491/0.8829, allocations: 459.8 kB / 0.9129 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005139/0.8835, allocations: 288.9 kB / 0.9131 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.8835, allocations: 7.828 kB / 0.9131 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005157/0.884, allocations: 288.8 kB / 0.9134 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 2.255e-06/0.884, allocations: 1.531 kB / 0.9134 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.002649/0.8867, allocations: 1.245 MB / 0.9146 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.8867, allocations: 61.19 kB / 0.9147 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.8885, allocations: 1.745 MB / 0.9164 GB, free: 182 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.8885, allocations: 37.72 kB / 0.9164 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.8888, allocations: 0.5229 MB / 0.9169 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.141e-05/0.8889, allocations: 143.7 kB / 0.9171 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.8891, allocations: 94.59 kB / 0.9172 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.153e-05/0.8891, allocations: 330.4 kB / 0.9175 GB, free: 181 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/0.8896, allocations: 219.5 kB / 0.9177 GB, free: 181 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/0.8901, allocations: 328.9 kB / 0.918 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008413/0.891, allocations: 0.5132 MB / 0.9185 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.891, allocations: 1.031 kB / 0.9185 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001566/0.8926, allocations: 0.8378 MB / 0.9193 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.8926, allocations: 8.031 kB / 0.9193 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.8926, allocations: 10.97 kB / 0.9194 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005291/0.8931, allocations: 188.1 kB / 0.9195 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.8935, allocations: 97 kB / 0.9196 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.8962, allocations: 2.991 MB / 0.9225 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.8966, allocations: 72.53 kB / 0.9226 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.8967, allocations: 23.77 kB / 0.9226 GB, free: 177.8 MB / 0.7169 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,$PRE.mean.y,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.0003284/0.897, allocations: 391.8 kB / 0.923 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.857e-05/0.8971, allocations: 116.1 kB / 0.9231 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.8973, allocations: 138.7 kB / 0.9233 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.8973, allocations: 9.5 kB / 0.9233 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.8973, allocations: 2.75 kB / 0.9233 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.8973, allocations: 3.984 kB / 0.9233 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.8994, allocations: 1.561 MB / 0.9248 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.8994, allocations: 0 / 0.9248 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.8996, allocations: 46.5 kB / 0.9248 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003649/0.8999, allocations: 211.1 kB / 0.925 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.9, allocations: 11.94 kB / 0.9251 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002804/0.9028, allocations: 4.55 MB / 0.9295 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9028, allocations: 0 / 0.9295 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.9042, allocations: 1.068 MB / 0.9305 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.9044, allocations: 211.6 kB / 0.9307 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-05/0.9044, allocations: 15.98 kB / 0.9308 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.9047, allocations: 31.97 kB / 0.9308 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.995e-05/0.9048, allocations: 47.92 kB / 0.9308 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.9049, allocations: 16 kB / 0.9308 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008645/0.9057, allocations: 1.277 MB / 0.9321 GB, free: 169.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9058, allocations: 4 kB / 0.9321 GB, free: 169.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006044/0.9064, allocations: 206.5 kB / 0.9323 GB, free: 169.2 MB / 0.7169 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) * 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.0008937/0.9073, allocations: 483 kB / 0.9328 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.9085, allocations: 0.7467 MB / 0.9335 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9085, allocations: 4 kB / 0.9335 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006406/0.9092, allocations: 0.5555 MB / 0.934 GB, free: 167.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008015/0.91, allocations: 206.1 kB / 0.9342 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.9125, allocations: 2.38 MB / 0.9366 GB, free: 165 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.9129, allocations: 1.153 MB / 0.9377 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002098/0.9132, allocations: 88.78 kB / 0.9378 GB, free: 163.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.9133, allocations: 47.42 kB / 0.9378 GB, free: 163.7 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.9133, allocations: 0 / 0.9378 GB, free: 163.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.01346/0.9267, allocations: 10.45 MB / 0.948 GB, free: 153.4 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)