Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.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.001187/0.001193, allocations: 102.8 kB / 16.27 MB, free: 5.965 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.001079/0.001079, allocations: 188.6 kB / 17.2 MB, free: 5.59 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437 MB / 0.711 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 68.17 kB / 0.8699 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2825, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.6881/0.9707, allocations: 157.3 MB / 1.172 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03096/1.002, allocations: 21.99 MB / 1.193 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003082/1.005, allocations: 60.09 kB / 1.193 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002739/1.008, allocations: 2.156 MB / 1.195 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002703/1.01, allocations: 1.42 MB / 1.197 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/1.012, allocations: 0.5867 MB / 1.197 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002561/1.015, allocations: 1.822 MB / 1.199 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/1.017, allocations: 1.081 MB / 1.2 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/1.019, allocations: 0.8735 MB / 1.201 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/1.021, allocations: 1.535 MB / 1.202 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003345/1.021, allocations: 90.97 kB / 1.202 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006143/1.022, allocations: 138.1 kB / 1.203 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000568/1.022, allocations: 0.5271 MB / 1.203 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/1.023, allocations: 0.7673 MB / 1.204 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/1.025, allocations: 1.83 MB / 1.206 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.025, allocations: 0 / 1.206 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.733e-06/1.025, allocations: 0 / 1.206 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.897e-05/1.025, allocations: 0 / 1.206 GB, free: 7.102 MB / 0.9044 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.003913/1.029, allocations: 2.278 MB / 1.208 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.029, allocations: 14.98 kB / 1.208 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/1.029, allocations: 223.9 kB / 1.208 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/1.031, allocations: 1.005 MB / 1.209 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/1.031, allocations: 90.23 kB / 1.209 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/1.031, allocations: 62.12 kB / 1.209 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/1.032, allocations: 0.7313 MB / 1.21 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/1.032, allocations: 2.5 kB / 1.21 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.297e-05/1.032, allocations: 29.44 kB / 1.21 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/1.032, allocations: 12.62 kB / 1.21 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/1.034, allocations: 0.5928 MB / 1.211 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005375/1.039, allocations: 3.535 MB / 1.214 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/1.041, allocations: 0.7035 MB / 1.215 GB, free: 15.82 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007742/1.041, allocations: 422.7 kB / 1.215 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.197e-05/1.041, allocations: 4.562 kB / 1.215 GB, free: 15.4 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008054/1.042, allocations: 430.9 kB / 1.215 GB, free: 14.97 MB / 0.92 GB Notification: Performance of pre-optimization done (n=70): time 3.577e-06/1.042, allocations: 0 / 1.215 GB, free: 14.97 MB / 0.92 GB Notification: Performance of matching and sorting (n=70): time 0.004675/1.047, allocations: 1.804 MB / 1.217 GB, free: 13.12 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/1.047, allocations: 59.97 kB / 1.217 GB, free: 13.05 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004224/1.051, allocations: 3.304 MB / 1.221 GB, free: 9.719 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/1.051, allocations: 45.69 kB / 1.221 GB, free: 9.668 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007815/1.052, allocations: 0.8899 MB / 1.221 GB, free: 8.77 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/1.052, allocations: 221 kB / 1.222 GB, free: 8.551 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/1.053, allocations: 134.6 kB / 1.222 GB, free: 8.41 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.053, allocations: 337.9 kB / 1.222 GB, free: 8.074 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006998/1.054, allocations: 301.8 kB / 1.222 GB, free: 7.781 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007595/1.054, allocations: 439.1 kB / 1.223 GB, free: 7.312 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/1.056, allocations: 0.7227 MB / 1.223 GB, free: 6.547 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.056, allocations: 0 / 1.223 GB, free: 6.547 MB / 0.92 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002769/1.059, allocations: 1.216 MB / 1.225 GB, free: 5.312 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/1.059, allocations: 11.94 kB / 1.225 GB, free: 5.301 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.059, allocations: 0 / 1.225 GB, free: 5.301 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007116/1.059, allocations: 263 kB / 1.225 GB, free: 5.039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/1.06, allocations: 131.8 kB / 1.225 GB, free: 4.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005185/1.065, allocations: 4.761 MB / 1.23 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008707/1.066, allocations: 91.39 kB / 1.23 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.066, allocations: 39.98 kB / 1.23 GB, free: 15.74 MB / 0.9356 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.001126/1.067, allocations: 0.6052 MB / 1.23 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004528/1.068, allocations: 205.4 kB / 1.231 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006152/1.068, allocations: 248.5 kB / 1.231 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.068, allocations: 8 kB / 1.231 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.922e-05/1.068, allocations: 4 kB / 1.231 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/1.068, allocations: 3.984 kB / 1.231 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004764/1.073, allocations: 2.342 MB / 1.233 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/1.073, allocations: 0 / 1.233 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/1.074, allocations: 63.89 kB / 1.233 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006777/1.074, allocations: 257.5 kB / 1.233 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.43e-05/1.074, allocations: 15.98 kB / 1.233 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005323/1.08, allocations: 4.763 MB / 1.238 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.08, allocations: 0 / 1.238 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/1.083, allocations: 1.571 MB / 1.24 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/1.084, allocations: 310.4 kB / 1.24 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/1.084, allocations: 20 kB / 1.24 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005126/1.084, allocations: 39.89 kB / 1.24 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/1.085, allocations: 76.39 kB / 1.24 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/1.085, allocations: 31.98 kB / 1.24 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002842/1.088, allocations: 2.415 MB / 1.242 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.5e-07/1.088, allocations: 4 kB / 1.242 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001233/1.089, allocations: 295.4 kB / 1.243 GB, free: 2.074 MB / 0.9356 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.001227/1.09, allocations: 497.8 kB / 1.243 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00251/1.093, allocations: 1.153 MB / 1.244 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.093, allocations: 0 / 1.244 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/1.094, allocations: 0.6866 MB / 1.245 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/1.095, allocations: 280.7 kB / 1.245 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005872/1.101, allocations: 4.118 MB / 1.249 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/1.102, allocations: 1.513 MB / 1.251 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/1.103, allocations: 71.41 kB / 1.251 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of SimCode: time 6.91e-07/1.103, allocations: 4 kB / 1.251 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of Templates: time 0.04521/1.148, allocations: 31.46 MB / 1.282 GB, free: 10.41 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches