Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 108.7 kB / 16.41 MB, free: 6.477 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.001412/0.001412, allocations: 183 kB / 17.34 MB, free: 5.754 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.14 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: 286.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.911/0.911, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 91.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.4778, allocations: 86.98 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1643/0.6422, allocations: 157.2 MB / 0.9206 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02673/0.6689, allocations: 22 MB / 0.9421 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.6713, allocations: 59.69 kB / 0.9421 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.6741, allocations: 2.155 MB / 0.9442 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.6768, allocations: 1.417 MB / 0.9456 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.6787, allocations: 0.5793 MB / 0.9462 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002724/0.6814, allocations: 1.828 MB / 0.948 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.6833, allocations: 1.091 MB / 0.949 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.685, allocations: 0.8764 MB / 0.9499 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.6871, allocations: 1.542 MB / 0.9514 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003544/0.6875, allocations: 92 kB / 0.9515 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005751/0.6881, allocations: 136 kB / 0.9516 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006209/0.6887, allocations: 0.5277 MB / 0.9521 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.6898, allocations: 0.7602 MB / 0.9529 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002307/0.6921, allocations: 1.863 MB / 0.9547 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6921, allocations: 4 kB / 0.9547 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6921, allocations: 0 / 0.9547 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.08e-05/0.6922, allocations: 0 / 0.9547 GB, free: 3.012 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004459/0.6967, allocations: 2.281 MB / 0.9569 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.6968, allocations: 11.97 kB / 0.9569 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004317/0.6972, allocations: 230 kB / 0.9572 GB, free: 436 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3541/1.051, allocations: 1.007 MB / 0.9581 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/1.052, allocations: 85.52 kB / 0.9582 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/1.052, allocations: 64.19 kB / 0.9583 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/1.053, allocations: 0.728 MB / 0.959 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/1.053, allocations: 9.422 kB / 0.959 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/1.053, allocations: 26.97 kB / 0.959 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/1.053, allocations: 18.41 kB / 0.959 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/1.055, allocations: 0.5885 MB / 0.9596 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004619/1.059, allocations: 3.503 MB / 0.963 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/1.061, allocations: 0.7008 MB / 0.9637 GB, free: 188.4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007111/1.062, allocations: 413.2 kB / 0.9641 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.616e-05/1.062, allocations: 20.42 kB / 0.9641 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007535/1.062, allocations: 426.1 kB / 0.9645 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=70): time 2.765e-06/1.062, allocations: 0 / 0.9645 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70): time 0.004041/1.066, allocations: 1.798 MB / 0.9663 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/1.066, allocations: 65.55 kB / 0.9664 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/1.069, allocations: 3.313 MB / 0.9696 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/1.069, allocations: 45.7 kB / 0.9696 GB, free: 186 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004649/1.07, allocations: 0.8898 MB / 0.9705 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/1.07, allocations: 216.8 kB / 0.9707 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/1.07, allocations: 130.7 kB / 0.9708 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.519e-05/1.07, allocations: 337.9 kB / 0.9712 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/1.071, allocations: 305.8 kB / 0.9715 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/1.071, allocations: 438.3 kB / 0.9719 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009553/1.072, allocations: 0.7159 MB / 0.9726 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.072, allocations: 4.875 kB / 0.9726 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001776/1.074, allocations: 1.212 MB / 0.9738 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.074, allocations: 4 kB / 0.9738 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.074, allocations: 7.984 kB / 0.9738 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005739/1.075, allocations: 261.6 kB / 0.974 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/1.075, allocations: 129.2 kB / 0.9742 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/1.078, allocations: 4.754 MB / 0.9788 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/1.079, allocations: 99.3 kB / 0.9789 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/1.079, allocations: 24 kB / 0.9789 GB, free: 176.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005946/1.08, allocations: 0.6052 MB / 0.9795 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/1.08, allocations: 201.4 kB / 0.9797 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/1.08, allocations: 256.5 kB / 0.9799 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/1.08, allocations: 12 kB / 0.9799 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.141e-05/1.08, allocations: 11.94 kB / 0.98 GB, free: 175 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.08, allocations: 5.672 kB / 0.98 GB, free: 175 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/1.083, allocations: 2.332 MB / 0.9822 GB, free: 172.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/1.083, allocations: 0 / 0.9822 GB, free: 172.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/1.083, allocations: 71.89 kB / 0.9823 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004919/1.084, allocations: 252.8 kB / 0.9826 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/1.084, allocations: 23.98 kB / 0.9826 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003256/1.087, allocations: 4.748 MB / 0.9872 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/1.087, allocations: 0 / 0.9872 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/1.089, allocations: 1.576 MB / 0.9888 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/1.09, allocations: 318.4 kB / 0.9891 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/1.09, allocations: 19.98 kB / 0.9891 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/1.09, allocations: 43.95 kB / 0.9891 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/1.09, allocations: 68.47 kB / 0.9892 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/1.09, allocations: 23.98 kB / 0.9892 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001731/1.092, allocations: 2.423 MB / 0.9916 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/1.092, allocations: 0 / 0.9916 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007937/1.093, allocations: 286.8 kB / 0.9918 GB, free: 162.5 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.00103/1.094, allocations: 496.6 kB / 0.9923 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001557/1.095, allocations: 1.058 MB / 0.9934 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.095, allocations: 0 / 0.9934 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008031/1.096, allocations: 0.6937 MB / 0.994 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/1.097, allocations: 287 kB / 0.9943 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/1.101, allocations: 4.063 MB / 0.9983 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007256/1.102, allocations: 1.518 MB / 0.9998 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/1.102, allocations: 71.41 kB / 0.9998 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of SimCode: time 6.21e-07/1.102, allocations: 3.938 kB / 0.9998 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.03071/1.133, allocations: 31.56 MB / 1.031 GB, free: 122.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)