Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008041/0.0008042, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004889/0.004889, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.325/1.325, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001769/0.001769, allocations: 262.9 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9251/0.9251, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006385/0.0006385, allocations: 12.03 kB / 0.5986 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2096, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.4672/0.6768, allocations: 152.6 MB / 0.8342 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02286/0.6997, allocations: 21.51 MB / 0.8552 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.7012, allocations: 51.31 kB / 0.8552 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.7029, allocations: 1.307 MB / 0.8565 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.7042, allocations: 0.925 MB / 0.8574 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.7054, allocations: 445 kB / 0.8578 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.7066, allocations: 1.527 MB / 0.8593 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007465/0.7074, allocations: 0.6783 MB / 0.86 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005504/0.7079, allocations: 0.551 MB / 0.8605 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009353/0.7089, allocations: 1.067 MB / 0.8616 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.019e-05/0.7089, allocations: 30.41 kB / 0.8616 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.7092, allocations: 77.55 kB / 0.8617 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.7094, allocations: 344.5 kB / 0.862 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003781/0.7098, allocations: 0.5359 MB / 0.8625 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009434/0.7108, allocations: 1.284 MB / 0.8638 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.7108, allocations: 2.781 kB / 0.8638 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7108, allocations: 0 / 0.8638 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.7108, allocations: 0 / 0.8638 GB, free: 4.473 MB / 0.5762 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.001985/0.7128, allocations: 1.49 MB / 0.8652 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.7128, allocations: 14.89 kB / 0.8652 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.713, allocations: 161.2 kB / 0.8654 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007893/0.7138, allocations: 0.7399 MB / 0.8661 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.714, allocations: 88.02 kB / 0.8662 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.002e-05/0.7141, allocations: 52.03 kB / 0.8662 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009754/0.715, allocations: 0.577 MB / 0.8668 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.7151, allocations: 4 kB / 0.8668 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/0.7151, allocations: 20.84 kB / 0.8668 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.7151, allocations: 11.81 kB / 0.8668 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008562/0.716, allocations: 468.1 kB / 0.8673 GB, free: 1.945 MB / 0.5762 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.003373/0.7194, allocations: 3.069 MB / 0.8703 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009917/0.7204, allocations: 0.5049 MB / 0.8708 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/0.721, allocations: 329.8 kB / 0.8711 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.721, allocations: 6.016 kB / 0.8711 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005678/0.7216, allocations: 337.5 kB / 0.8714 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=52): time 2.033e-06/0.7216, allocations: 4 kB / 0.8714 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52): time 0.002961/0.7246, allocations: 1.385 MB / 0.8728 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.7246, allocations: 57.03 kB / 0.8728 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.7265, allocations: 2.126 MB / 0.8749 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.7266, allocations: 37.7 kB / 0.8749 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004881/0.7271, allocations: 0.6284 MB / 0.8756 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.7272, allocations: 165.7 kB / 0.8757 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-05/0.7273, allocations: 57.69 kB / 0.8758 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.7274, allocations: 333.9 kB / 0.8761 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.728, allocations: 253.2 kB / 0.8763 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.7286, allocations: 365.8 kB / 0.8767 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.7296, allocations: 0.5773 MB / 0.8772 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7296, allocations: 4 kB / 0.8773 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001721/0.7313, allocations: 0.9471 MB / 0.8782 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7313, allocations: 8 kB / 0.8782 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.7314, allocations: 4 kB / 0.8782 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005019/0.7319, allocations: 196.7 kB / 0.8784 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.7323, allocations: 115.8 kB / 0.8785 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003228/0.7355, allocations: 2.8 MB / 0.8812 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.736, allocations: 103.5 kB / 0.8813 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.736, allocations: 20 kB / 0.8813 GB, free: 5.484 MB / 0.5919 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.0005067/0.7365, allocations: 437 kB / 0.8818 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.7367, allocations: 138.2 kB / 0.8819 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.7369, allocations: 166 kB / 0.882 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.7369, allocations: 12 kB / 0.8821 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.737, allocations: 0 / 0.8821 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.737, allocations: 11.92 kB / 0.8821 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.7396, allocations: 1.754 MB / 0.8838 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.7396, allocations: 0 / 0.8838 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.7398, allocations: 55.89 kB / 0.8838 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/0.7403, allocations: 203.6 kB / 0.884 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.7403, allocations: 15.98 kB / 0.884 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004084/0.7444, allocations: 4.191 MB / 0.8881 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7445, allocations: 0 / 0.8881 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.7464, allocations: 1.185 MB / 0.8893 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.7467, allocations: 251.2 kB / 0.8895 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/0.7468, allocations: 15.94 kB / 0.8895 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.7472, allocations: 51.95 kB / 0.8896 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.7473, allocations: 60.28 kB / 0.8897 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.7473, allocations: 16 kB / 0.8897 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001503/0.7488, allocations: 1.549 MB / 0.8912 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7489, allocations: 0 / 0.8912 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007342/0.7496, allocations: 227.6 kB / 0.8914 GB, free: 10.79 MB / 0.6075 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.001063/0.7507, allocations: 496 kB / 0.8919 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.7522, allocations: 0.7962 MB / 0.8927 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7522, allocations: 0 / 0.8927 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009038/0.7531, allocations: 0.5894 MB / 0.8932 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.7542, allocations: 219.3 kB / 0.8934 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.7582, allocations: 3.245 MB / 0.8966 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008005/0.759, allocations: 1.246 MB / 0.8978 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002842/0.7593, allocations: 105 kB / 0.8979 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.7594, allocations: 51.42 kB / 0.898 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.7594, allocations: 4 kB / 0.898 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of Templates: time 0.01789/0.7773, allocations: 10.54 MB / 0.9083 GB, free: 9.754 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)