Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 103.2 kB / 16.4 MB, free: 6.441 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.001015/0.001015, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00201/0.00201, allocations: 287.8 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9365/0.9365, allocations: 169.3 MB / 0.499 GB, free: 4.391 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 91.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.4987, allocations: 86.97 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1598/0.6585, allocations: 156.7 MB / 0.9201 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02392/0.6825, allocations: 21.76 MB / 0.9413 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.6843, allocations: 55.69 kB / 0.9414 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.6858, allocations: 1.157 MB / 0.9425 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.6871, allocations: 0.8562 MB / 0.9433 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.6881, allocations: 445.6 kB / 0.9438 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.6893, allocations: 1.263 MB / 0.945 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007033/0.69, allocations: 0.6714 MB / 0.9457 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005786/0.6906, allocations: 0.5529 MB / 0.9462 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009057/0.6915, allocations: 0.9216 MB / 0.9471 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.66e-05/0.6916, allocations: 64 kB / 0.9472 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.6919, allocations: 108 kB / 0.9473 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.6921, allocations: 324.6 kB / 0.9476 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.6925, allocations: 492.8 kB / 0.948 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.6936, allocations: 1.201 MB / 0.9492 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6936, allocations: 0 / 0.9492 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6936, allocations: 0 / 0.9492 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.6936, allocations: 0 / 0.9492 GB, free: 8.664 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00207/0.6957, allocations: 1.475 MB / 0.9507 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.6957, allocations: 16.03 kB / 0.9507 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.6959, allocations: 139.2 kB / 0.9508 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008223/0.6967, allocations: 0.6667 MB / 0.9515 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.6968, allocations: 66.69 kB / 0.9515 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-05/0.6969, allocations: 48 kB / 0.9516 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008727/0.6978, allocations: 0.5184 MB / 0.9521 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6978, allocations: 3.938 kB / 0.9521 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.6979, allocations: 16 kB / 0.9521 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.6979, allocations: 12 kB / 0.9521 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007845/0.6987, allocations: 419.7 kB / 0.9525 GB, free: 5.176 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.003349/0.702, allocations: 2.799 MB / 0.9552 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/0.703, allocations: 455.8 kB / 0.9557 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.7035, allocations: 289.3 kB / 0.9559 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.7036, allocations: 4.328 kB / 0.9559 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005232/0.7041, allocations: 306.6 kB / 0.9562 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 1.874e-06/0.7041, allocations: 0 / 0.9562 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.3453/1.049, allocations: 1.236 MB / 0.9574 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/1.05, allocations: 57.59 kB / 0.9575 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002642/1.052, allocations: 1.746 MB / 0.9592 GB, free: 191.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.147e-05/1.052, allocations: 38.23 kB / 0.9592 GB, free: 191.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/1.053, allocations: 0.5231 MB / 0.9598 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/1.053, allocations: 146.1 kB / 0.9599 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/1.053, allocations: 97.11 kB / 0.96 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.804e-05/1.053, allocations: 326.9 kB / 0.9603 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/1.053, allocations: 223.3 kB / 0.9605 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/1.054, allocations: 319.5 kB / 0.9608 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008194/1.055, allocations: 0.5032 MB / 0.9613 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.055, allocations: 5.094 kB / 0.9613 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001568/1.056, allocations: 0.8541 MB / 0.9621 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.056, allocations: 6.406 kB / 0.9622 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.056, allocations: 4.047 kB / 0.9622 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/1.057, allocations: 186.1 kB / 0.9623 GB, free: 190 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/1.057, allocations: 93.03 kB / 0.9624 GB, free: 190 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/1.06, allocations: 2.991 MB / 0.9653 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/1.061, allocations: 78.77 kB / 0.9654 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/1.061, allocations: 19.73 kB / 0.9654 GB, free: 187.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_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.0004501/1.061, allocations: 392.6 kB / 0.9658 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/1.061, allocations: 115.8 kB / 0.9659 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/1.062, allocations: 142.6 kB / 0.9661 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.062, allocations: 9.562 kB / 0.9661 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.168e-05/1.062, allocations: 3.875 kB / 0.9661 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/1.062, allocations: 3.047 kB / 0.9661 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/1.064, allocations: 1.559 MB / 0.9676 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.064, allocations: 2.031 kB / 0.9676 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/1.064, allocations: 41.05 kB / 0.9676 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004422/1.065, allocations: 203.8 kB / 0.9678 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/1.065, allocations: 14.59 kB / 0.9678 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00321/1.068, allocations: 4.545 MB / 0.9723 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.068, allocations: 3.469 kB / 0.9723 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/1.069, allocations: 1.064 MB / 0.9733 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/1.07, allocations: 220.7 kB / 0.9735 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.841e-05/1.07, allocations: 16.89 kB / 0.9736 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/1.07, allocations: 29.84 kB / 0.9736 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.07, allocations: 51.48 kB / 0.9736 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/1.07, allocations: 21.91 kB / 0.9736 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009816/1.071, allocations: 1.282 MB / 0.9749 GB, free: 181 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.071, allocations: 0 / 0.9749 GB, free: 181 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006577/1.072, allocations: 191.8 kB / 0.9751 GB, free: 180.8 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_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.0009871/1.073, allocations: 493.1 kB / 0.9756 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00121/1.074, allocations: 0.7157 MB / 0.9763 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.074, allocations: 0.6875 kB / 0.9763 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006687/1.075, allocations: 0.5456 MB / 0.9768 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008538/1.076, allocations: 207.6 kB / 0.977 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/1.078, allocations: 2.416 MB / 0.9793 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/1.079, allocations: 1.142 MB / 0.9805 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/1.079, allocations: 51.42 kB / 0.9805 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/1.079, allocations: 0 / 0.9805 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.01669/1.096, allocations: 18.06 MB / 0.9981 GB, free: 157.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)