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.005457/0.005457, allocations: 99.5 kB / 15.73 MB, free: 5.996 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.001318/0.001318, allocations: 199.5 kB / 16.68 MB, free: 5.918 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001992/0.001992, allocations: 280.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9054/0.9054, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 95.84 kB / 0.6814 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3949, allocations: 86.98 MB / 0.7664 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.153/0.5479, allocations: 156.7 MB / 0.9194 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02652/0.5745, allocations: 21.76 MB / 0.9407 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.5767, allocations: 55.69 kB / 0.9407 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.5785, allocations: 1.169 MB / 0.9419 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.5802, allocations: 0.8522 MB / 0.9427 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.5816, allocations: 428.8 kB / 0.9431 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.5832, allocations: 1.263 MB / 0.9443 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.5842, allocations: 0.6831 MB / 0.945 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008966/0.5851, allocations: 0.5529 MB / 0.9455 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.5864, allocations: 0.9177 MB / 0.9464 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001746/0.5865, allocations: 64 kB / 0.9465 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.5869, allocations: 112 kB / 0.9466 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.5872, allocations: 320.7 kB / 0.9469 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004831/0.5877, allocations: 488.8 kB / 0.9474 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.5888, allocations: 1.197 MB / 0.9485 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5888, allocations: 4 kB / 0.9485 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5888, allocations: 0 / 0.9485 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.5888, allocations: 4 kB / 0.9486 GB, free: 8.676 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.001994/0.5908, allocations: 1.475 MB / 0.95 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.5909, allocations: 12.02 kB / 0.95 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.591, allocations: 143.2 kB / 0.9501 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000766/0.5918, allocations: 0.6667 MB / 0.9508 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.5919, allocations: 70.69 kB / 0.9509 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.863e-05/0.592, allocations: 44 kB / 0.9509 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008866/0.5929, allocations: 0.5145 MB / 0.9514 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.5929, allocations: 11.94 kB / 0.9514 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/0.593, allocations: 19.98 kB / 0.9514 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.593, allocations: 8 kB / 0.9514 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007758/0.5938, allocations: 411.7 kB / 0.9518 GB, free: 5.191 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.003226/0.597, allocations: 2.792 MB / 0.9546 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009425/0.598, allocations: 459.8 kB / 0.955 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005217/0.5985, allocations: 285.3 kB / 0.9553 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.5986, allocations: 12.31 kB / 0.9553 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005137/0.5991, allocations: 306.6 kB / 0.9556 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 1.733e-06/0.5991, allocations: 0 / 0.9556 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.3313/0.9304, allocations: 1.232 MB / 0.9568 GB, free: 192.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.9305, allocations: 65.42 kB / 0.9568 GB, free: 192 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/0.9331, allocations: 1.745 MB / 0.9585 GB, free: 191.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.276e-05/0.9331, allocations: 41.09 kB / 0.9586 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/0.9335, allocations: 0.5185 MB / 0.9591 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.9337, allocations: 143.7 kB / 0.9592 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.9338, allocations: 97.77 kB / 0.9593 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.658e-05/0.9339, allocations: 326 kB / 0.9596 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004513/0.9343, allocations: 220.7 kB / 0.9598 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.9348, allocations: 329.4 kB / 0.9602 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007973/0.9356, allocations: 0.5049 MB / 0.9606 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.9356, allocations: 0 / 0.9606 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001515/0.9372, allocations: 0.8535 MB / 0.9615 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.9372, allocations: 7.062 kB / 0.9615 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.9372, allocations: 3.109 kB / 0.9615 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004957/0.9377, allocations: 184.9 kB / 0.9617 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.938, allocations: 97.56 kB / 0.9618 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/0.9409, allocations: 2.996 MB / 0.9647 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.9413, allocations: 73.81 kB / 0.9648 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.9414, allocations: 21.25 kB / 0.9648 GB, free: 187.6 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.0004114/0.9418, allocations: 383.3 kB / 0.9651 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.9419, allocations: 122.3 kB / 0.9653 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.9421, allocations: 141.7 kB / 0.9654 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.9421, allocations: 3.969 kB / 0.9654 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/0.9421, allocations: 4.203 kB / 0.9654 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.9422, allocations: 2.344 kB / 0.9654 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.9444, allocations: 1.563 MB / 0.9669 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.9444, allocations: 0.9688 kB / 0.9669 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.9446, allocations: 45.33 kB / 0.967 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/0.9451, allocations: 192.7 kB / 0.9672 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.9451, allocations: 14.62 kB / 0.9672 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003196/0.9483, allocations: 4.551 MB / 0.9716 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9483, allocations: 0 / 0.9716 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.9499, allocations: 1.066 MB / 0.9727 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.9501, allocations: 223.5 kB / 0.9729 GB, free: 182 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-05/0.9502, allocations: 17.22 kB / 0.9729 GB, free: 182 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.9504, allocations: 28.25 kB / 0.9729 GB, free: 182 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.9506, allocations: 51.55 kB / 0.973 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.9506, allocations: 17.69 kB / 0.973 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009499/0.9516, allocations: 1.284 MB / 0.9742 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9516, allocations: 0 / 0.9742 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007308/0.9523, allocations: 195.3 kB / 0.9744 GB, free: 180.6 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.001072/0.9534, allocations: 500 kB / 0.9749 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.9547, allocations: 0.7043 MB / 0.9756 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9547, allocations: 4 kB / 0.9756 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006681/0.9553, allocations: 0.552 MB / 0.9761 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008169/0.9562, allocations: 201.1 kB / 0.9763 GB, free: 179 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.9587, allocations: 2.364 MB / 0.9786 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.9592, allocations: 1.149 MB / 0.9798 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002055/0.9594, allocations: 104.7 kB / 0.9799 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.088e-05/0.9595, allocations: 39.44 kB / 0.9799 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.9595, allocations: 0 / 0.9799 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.01501/0.9745, allocations: 10.83 MB / 0.9905 GB, free: 164.6 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)