Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 106.5 kB / 16.27 MB, free: 6.414 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.001014/0.001014, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.24/1.24, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 287.8 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.871/0.871, allocations: 169.3 MB / 0.4988 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 103.1 kB / 0.5959 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1609, allocations: 86.98 MB / 0.6808 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.4259/0.5868, allocations: 156.7 MB / 0.8339 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02352/0.6104, allocations: 21.73 MB / 0.8551 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.6122, allocations: 51.75 kB / 0.8552 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.6139, allocations: 1.169 MB / 0.8563 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.6154, allocations: 0.8524 MB / 0.8571 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.6166, allocations: 442 kB / 0.8576 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.618, allocations: 1.251 MB / 0.8588 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009511/0.6189, allocations: 0.6835 MB / 0.8595 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008075/0.6198, allocations: 0.5452 MB / 0.86 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.6208, allocations: 0.9177 MB / 0.8609 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.621, allocations: 68 kB / 0.8609 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.6213, allocations: 112 kB / 0.8611 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.6216, allocations: 316.7 kB / 0.8614 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004821/0.6221, allocations: 492.8 kB / 0.8618 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.6232, allocations: 1.187 MB / 0.863 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6232, allocations: 0 / 0.863 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6232, allocations: 0 / 0.863 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.176e-05/0.6232, allocations: 0 / 0.863 GB, free: 4.398 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.002356/0.6256, allocations: 1.475 MB / 0.8644 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.6256, allocations: 8.031 kB / 0.8644 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.6258, allocations: 135.3 kB / 0.8646 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007942/0.6266, allocations: 0.6629 MB / 0.8652 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.6268, allocations: 70.69 kB / 0.8653 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.888e-05/0.6269, allocations: 51.98 kB / 0.8653 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008643/0.6277, allocations: 0.5145 MB / 0.8658 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.6278, allocations: 0 / 0.8658 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.6278, allocations: 20 kB / 0.8658 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.6278, allocations: 8 kB / 0.8659 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007809/0.6286, allocations: 415.7 kB / 0.8663 GB, free: 0.9297 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.003221/0.6318, allocations: 2.731 MB / 0.8689 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009008/0.6328, allocations: 444 kB / 0.8693 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006064/0.6334, allocations: 328 kB / 0.8697 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.6334, allocations: 8.641 kB / 0.8697 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.6339, allocations: 275 kB / 0.8699 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 2.184e-06/0.6339, allocations: 4 kB / 0.8699 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.002467/0.6364, allocations: 1.152 MB / 0.8711 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.992e-05/0.6364, allocations: 59.41 kB / 0.8711 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.6382, allocations: 1.76 MB / 0.8728 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.6382, allocations: 37.7 kB / 0.8729 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/0.6386, allocations: 0.5249 MB / 0.8734 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.6388, allocations: 146 kB / 0.8735 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.6389, allocations: 94.25 kB / 0.8736 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.639, allocations: 334 kB / 0.8739 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.6395, allocations: 209 kB / 0.8741 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/0.64, allocations: 347.9 kB / 0.8745 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008594/0.6409, allocations: 0.5219 MB / 0.875 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.6409, allocations: 0 / 0.875 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001457/0.6424, allocations: 0.805 MB / 0.8758 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6424, allocations: 11.94 kB / 0.8758 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6424, allocations: 4 kB / 0.8758 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004016/0.6428, allocations: 136.9 kB / 0.8759 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.6432, allocations: 103.9 kB / 0.876 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.6458, allocations: 2.603 MB / 0.8785 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/0.6462, allocations: 79.55 kB / 0.8786 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.6462, allocations: 20 kB / 0.8786 GB, free: 3.66 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004394/0.6467, allocations: 383.3 kB / 0.879 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.6468, allocations: 118.5 kB / 0.8791 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.647, allocations: 151.6 kB / 0.8793 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.647, allocations: 4 kB / 0.8793 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.647, allocations: 4 kB / 0.8793 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.647, allocations: 4 kB / 0.8793 GB, free: 3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.6491, allocations: 1.485 MB / 0.8807 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6491, allocations: 4 kB / 0.8807 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.6493, allocations: 47.95 kB / 0.8808 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003529/0.6497, allocations: 161.6 kB / 0.8809 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.6497, allocations: 11.98 kB / 0.8809 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/0.653, allocations: 4.036 MB / 0.8849 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.653, allocations: 0 / 0.8849 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.6546, allocations: 0.9832 MB / 0.8858 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.6548, allocations: 219.7 kB / 0.886 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/0.6549, allocations: 12 kB / 0.8861 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.6552, allocations: 31.97 kB / 0.8861 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.6553, allocations: 55.91 kB / 0.8861 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.6554, allocations: 15.98 kB / 0.8862 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00123/0.6566, allocations: 1.293 MB / 0.8874 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6566, allocations: 0 / 0.8874 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006206/0.6572, allocations: 187.8 kB / 0.8876 GB, free: 10.07 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,12,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.001026/0.6583, allocations: 489 kB / 0.8881 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.6596, allocations: 0.694 MB / 0.8887 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.6596, allocations: 0 / 0.8887 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000726/0.6604, allocations: 0.5249 MB / 0.8893 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009018/0.6613, allocations: 204.5 kB / 0.8894 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.6645, allocations: 2.441 MB / 0.8918 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.6651, allocations: 1.149 MB / 0.893 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.6652, allocations: 43.42 kB / 0.893 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6652, allocations: 0 / 0.893 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of Templates: time 0.02328/0.6885, allocations: 17.82 MB / 0.9104 GB, free: 2.855 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)