Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001847/0.001847, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002603/0.002603, allocations: 279 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 178.6 MB / 0.5069 GB, free: 4.715 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002802, allocations: 102.7 kB / 0.6059 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.153, allocations: 89.15 MB / 0.693 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4957/0.6488, allocations: 154.6 MB / 0.8439 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02817/0.677, allocations: 21.49 MB / 0.8649 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.679, allocations: 49.69 kB / 0.865 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.6805, allocations: 1.132 MB / 0.8661 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.6819, allocations: 0.8206 MB / 0.8669 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.683, allocations: 380.6 kB / 0.8672 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001223/0.6842, allocations: 1.255 MB / 0.8685 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007516/0.685, allocations: 0.697 MB / 0.8691 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005875/0.6856, allocations: 0.5539 MB / 0.8697 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009008/0.6865, allocations: 0.9532 MB / 0.8706 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-05/0.6866, allocations: 65.12 kB / 0.8707 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.6868, allocations: 117 kB / 0.8708 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000289/0.6871, allocations: 332.2 kB / 0.8711 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.6875, allocations: 494.1 kB / 0.8716 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.6886, allocations: 1.179 MB / 0.8727 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.6886, allocations: 0 / 0.8727 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6886, allocations: 4 kB / 0.8727 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.6887, allocations: 2.625 kB / 0.8727 GB, free: 2.562 MB / 0.5919 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.002225/0.6909, allocations: 1.478 MB / 0.8742 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.6909, allocations: 9.812 kB / 0.8742 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.6911, allocations: 134.1 kB / 0.8743 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008067/0.6919, allocations: 0.6495 MB / 0.8749 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.6921, allocations: 76.47 kB / 0.875 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-05/0.6922, allocations: 52.52 kB / 0.8751 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/0.6931, allocations: 0.516 MB / 0.8756 GB, free: 404 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.6931, allocations: 0 / 0.8756 GB, free: 404 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.6932, allocations: 17.19 kB / 0.8756 GB, free: 392 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.6932, allocations: 13.47 kB / 0.8756 GB, free: 388 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008153/0.694, allocations: 419.1 kB / 0.876 GB, free: 176 kB / 0.5919 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.003796/0.6978, allocations: 2.805 MB / 0.8787 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.6989, allocations: 459.7 kB / 0.8792 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/0.6995, allocations: 287.3 kB / 0.8794 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.6995, allocations: 12.59 kB / 0.8795 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006038/0.7002, allocations: 301.9 kB / 0.8797 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 2.064e-06/0.7002, allocations: 3.938 kB / 0.8798 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.003046/0.7032, allocations: 1.246 MB / 0.881 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.7033, allocations: 67.39 kB / 0.881 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/0.7053, allocations: 1.744 MB / 0.8827 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.7053, allocations: 37.7 kB / 0.8828 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000464/0.7058, allocations: 0.518 MB / 0.8833 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.706, allocations: 145.9 kB / 0.8834 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.7061, allocations: 94.25 kB / 0.8835 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7063, allocations: 334 kB / 0.8838 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.7068, allocations: 217 kB / 0.884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.7074, allocations: 327.9 kB / 0.8843 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009277/0.7083, allocations: 0.5103 MB / 0.8848 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.7083, allocations: 4 kB / 0.8848 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001696/0.71, allocations: 0.8511 MB / 0.8857 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.71, allocations: 8 kB / 0.8857 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.7101, allocations: 4 kB / 0.8857 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/0.7106, allocations: 186.9 kB / 0.8859 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.711, allocations: 91.81 kB / 0.886 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003778/0.7147, allocations: 2.993 MB / 0.8889 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.7153, allocations: 83.55 kB / 0.889 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.7153, allocations: 20 kB / 0.889 GB, free: 2.5 MB / 0.6075 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.0005568/0.7159, allocations: 384.2 kB / 0.8893 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.716, allocations: 126.4 kB / 0.8895 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.7162, allocations: 135.7 kB / 0.8896 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.7163, allocations: 8 kB / 0.8896 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.7163, allocations: 3.984 kB / 0.8896 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.7163, allocations: 4 kB / 0.8896 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/0.7189, allocations: 1.569 MB / 0.8911 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.7189, allocations: 0 / 0.8911 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.7191, allocations: 43.97 kB / 0.8912 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005166/0.7197, allocations: 199.3 kB / 0.8914 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.7197, allocations: 12 kB / 0.8914 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004761/0.7245, allocations: 4.559 MB / 0.8958 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.7245, allocations: 0 / 0.8958 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.7265, allocations: 1.057 MB / 0.8969 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.7269, allocations: 219.5 kB / 0.8971 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.727, allocations: 15.98 kB / 0.8971 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.7273, allocations: 31.97 kB / 0.8971 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.7275, allocations: 55.86 kB / 0.8972 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.7275, allocations: 15.98 kB / 0.8972 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001536/0.7291, allocations: 1.281 MB / 0.8984 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.21e-07/0.7291, allocations: 0 / 0.8984 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009327/0.73, allocations: 211.7 kB / 0.8986 GB, free: 8.195 MB / 0.6231 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.00177/0.7318, allocations: 488.3 kB / 0.8991 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.7335, allocations: 0.754 MB / 0.8998 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.7335, allocations: 0 / 0.8998 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009268/0.7345, allocations: 0.5595 MB / 0.9004 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/0.7355, allocations: 203.4 kB / 0.9006 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/0.7395, allocations: 2.688 MB / 0.9032 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008573/0.7403, allocations: 1.153 MB / 0.9043 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002932/0.7406, allocations: 96.78 kB / 0.9044 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.7407, allocations: 43.42 kB / 0.9045 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.7408, allocations: 0 / 0.9045 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of Templates: time 0.02005/0.7608, allocations: 10.24 MB / 0.9145 GB, free: 8.23 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)