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.001336/0.001336, allocations: 107 kB / 16.36 MB, free: 6.336 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.001292/0.001292, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002055, allocations: 285.4 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8825/0.8825, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 93.67 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1476, allocations: 86.96 MB / 0.6816 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.411/0.5586, allocations: 156.7 MB / 0.8346 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02249/0.5811, allocations: 21.75 MB / 0.8559 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.5826, allocations: 55.69 kB / 0.8559 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.5841, allocations: 1.161 MB / 0.8571 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.5853, allocations: 0.8523 MB / 0.8579 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009356/0.5863, allocations: 446.8 kB / 0.8583 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.5874, allocations: 1.259 MB / 0.8596 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007257/0.5881, allocations: 0.6841 MB / 0.8602 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005626/0.5887, allocations: 0.549 MB / 0.8608 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009329/0.5896, allocations: 0.9216 MB / 0.8617 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.205e-05/0.5897, allocations: 64 kB / 0.8617 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.5899, allocations: 112 kB / 0.8618 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.5902, allocations: 320.7 kB / 0.8621 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.5906, allocations: 496.8 kB / 0.8626 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009978/0.5916, allocations: 1.197 MB / 0.8638 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5916, allocations: 0 / 0.8638 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5916, allocations: 4 kB / 0.8638 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.5916, allocations: 0 / 0.8638 GB, free: 3.973 MB / 0.6231 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.002047/0.5937, allocations: 1.471 MB / 0.8652 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.5937, allocations: 8.031 kB / 0.8652 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.5939, allocations: 135.3 kB / 0.8654 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008416/0.5947, allocations: 0.6706 MB / 0.866 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.5949, allocations: 74.69 kB / 0.8661 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-05/0.595, allocations: 48 kB / 0.8661 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008552/0.5958, allocations: 0.5145 MB / 0.8666 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.5958, allocations: 0 / 0.8666 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.5959, allocations: 19.98 kB / 0.8666 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.5959, allocations: 12 kB / 0.8667 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000763/0.5967, allocations: 419.7 kB / 0.8671 GB, free: 0.4922 MB / 0.6231 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.003322/0.6, allocations: 2.78 MB / 0.8698 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009281/0.601, allocations: 460.5 kB / 0.8702 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005145/0.6015, allocations: 287.8 kB / 0.8705 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.6015, allocations: 4.328 kB / 0.8705 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005041/0.602, allocations: 290.8 kB / 0.8708 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=45): time 3.466e-06/0.6021, allocations: 4 kB / 0.8708 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.002703/0.6048, allocations: 1.245 MB / 0.872 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.6048, allocations: 59.41 kB / 0.872 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.6065, allocations: 1.748 MB / 0.8738 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.6065, allocations: 33.7 kB / 0.8738 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.6069, allocations: 0.5218 MB / 0.8743 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.6071, allocations: 150.4 kB / 0.8744 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.6072, allocations: 94.25 kB / 0.8745 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.6073, allocations: 330 kB / 0.8748 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.6078, allocations: 220.9 kB / 0.8751 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.6083, allocations: 331.8 kB / 0.8754 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008353/0.6092, allocations: 0.514 MB / 0.8759 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6092, allocations: 3.938 kB / 0.8759 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00149/0.6107, allocations: 0.8417 MB / 0.8767 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.6107, allocations: 10.34 kB / 0.8767 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.6107, allocations: 4 kB / 0.8767 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000492/0.6112, allocations: 192.7 kB / 0.8769 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.6115, allocations: 91.88 kB / 0.877 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003295/0.6148, allocations: 2.995 MB / 0.8799 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.6152, allocations: 71.48 kB / 0.88 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.6153, allocations: 20 kB / 0.88 GB, free: 2.664 MB / 0.6387 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.0004446/0.6157, allocations: 387.4 kB / 0.8804 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.6159, allocations: 122.4 kB / 0.8805 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.6161, allocations: 139.7 kB / 0.8806 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.6161, allocations: 4 kB / 0.8806 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.6161, allocations: 4 kB / 0.8806 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.6161, allocations: 3.984 kB / 0.8806 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.6184, allocations: 1.556 MB / 0.8821 GB, free: 400 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6184, allocations: 0 / 0.8821 GB, free: 400 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.6187, allocations: 59.89 kB / 0.8822 GB, free: 340 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000433/0.6191, allocations: 186.4 kB / 0.8824 GB, free: 148 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.6191, allocations: 11.98 kB / 0.8824 GB, free: 136 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004066/0.6232, allocations: 4.557 MB / 0.8868 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6232, allocations: 0 / 0.8868 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.6249, allocations: 1.063 MB / 0.8879 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002809/0.6252, allocations: 215.6 kB / 0.8881 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/0.6253, allocations: 12 kB / 0.8881 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.6256, allocations: 27.97 kB / 0.8881 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.6258, allocations: 51.92 kB / 0.8882 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.6258, allocations: 19.98 kB / 0.8882 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001227/0.627, allocations: 1.277 MB / 0.8894 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.627, allocations: 4 kB / 0.8894 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007073/0.6278, allocations: 203.7 kB / 0.8896 GB, free: 8.391 MB / 0.6544 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.001035/0.6288, allocations: 489.3 kB / 0.8901 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.6302, allocations: 0.7266 MB / 0.8908 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.6302, allocations: 4 kB / 0.8908 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000805/0.631, allocations: 0.5482 MB / 0.8913 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008693/0.6319, allocations: 200.8 kB / 0.8915 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.6351, allocations: 2.384 MB / 0.8939 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/0.6358, allocations: 1.146 MB / 0.895 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002443/0.636, allocations: 92.72 kB / 0.8951 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.6361, allocations: 43.42 kB / 0.8951 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of SimCode: time 2.795e-06/0.6361, allocations: 0 / 0.8951 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of Templates: time 0.01821/0.6544, allocations: 10.46 MB / 0.9053 GB, free: 8.551 MB / 0.67 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)