Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00243/0.00243, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003085/0.003085, allocations: 177.2 kB / 22.76 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.639/1.639, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.371/3.371, allocations: 429.4 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.643e-05, allocations: 5.859 kB / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.2134/0.2134, allocations: 153.1 MB / 1.027 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.03261/0.246, allocations: 22.17 MB / 1.049 GB, free: 6.746 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.2479, allocations: 71.44 kB / 1.049 GB, free: 6.676 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.25, allocations: 1.359 MB / 1.05 GB, free: 5.312 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.2519, allocations: 1.054 MB / 1.051 GB, free: 4.254 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.253, allocations: 442.6 kB / 1.051 GB, free: 3.82 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.255, allocations: 1.5 MB / 1.053 GB, free: 2.316 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009852/0.256, allocations: 0.6765 MB / 1.054 GB, free: 1.629 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.2575, allocations: 0.8302 MB / 1.054 GB, free: 0.7969 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4575/0.715, allocations: 1.144 MB / 1.056 GB, free: 50.5 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002385/0.7152, allocations: 73.66 kB / 1.056 GB, free: 50.5 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003979/0.7156, allocations: 124.6 kB / 1.056 GB, free: 50.5 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.7159, allocations: 395.3 kB / 1.056 GB, free: 50.5 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.7163, allocations: 326.4 kB / 1.056 GB, free: 50.5 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.7174, allocations: 1.405 MB / 1.058 GB, free: 50.45 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.7174, allocations: 3.312 kB / 1.058 GB, free: 50.45 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7174, allocations: 0 / 1.058 GB, free: 50.45 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.771e-05/0.7175, allocations: 1.406 kB / 1.058 GB, free: 50.45 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002272/0.7197, allocations: 2.016 MB / 1.06 GB, free: 49.36 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.7198, allocations: 8.438 kB / 1.06 GB, free: 49.36 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.7201, allocations: 214.4 kB / 1.06 GB, free: 49.27 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.7215, allocations: 1.175 MB / 1.061 GB, free: 48.86 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.7216, allocations: 103.1 kB / 1.061 GB, free: 48.79 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.368e-05/0.7217, allocations: 57.59 kB / 1.061 GB, free: 48.79 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000858/0.7226, allocations: 0.583 MB / 1.062 GB, free: 48.72 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.7226, allocations: 1.688 kB / 1.062 GB, free: 48.72 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.7227, allocations: 18.69 kB / 1.062 GB, free: 48.72 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.7227, allocations: 13.53 kB / 1.062 GB, free: 48.72 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007404/0.7234, allocations: 399.6 kB / 1.062 GB, free: 48.72 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003307/0.7267, allocations: 2.411 MB / 1.065 GB, free: 48.05 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009299/0.7276, allocations: 461.8 kB / 1.065 GB, free: 48.02 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.7282, allocations: 273.6 kB / 1.065 GB, free: 48 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.7282, allocations: 7.125 kB / 1.065 GB, free: 48 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005366/0.7287, allocations: 323.4 kB / 1.066 GB, free: 47.95 MB / 1.01 GB Notification: Performance of pre-optimization done (n=52): time 2.144e-06/0.7287, allocations: 1.344 kB / 1.066 GB, free: 47.95 MB / 1.01 GB Notification: Performance of matching and sorting (n=52): time 0.002867/0.7316, allocations: 1.166 MB / 1.067 GB, free: 47.78 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.7316, allocations: 65.59 kB / 1.067 GB, free: 47.72 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.7331, allocations: 1.514 MB / 1.068 GB, free: 47.47 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.7331, allocations: 36.39 kB / 1.068 GB, free: 47.44 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004931/0.7336, allocations: 0.8054 MB / 1.069 GB, free: 47.23 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.7337, allocations: 184.7 kB / 1.069 GB, free: 47.13 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.7339, allocations: 131.5 kB / 1.069 GB, free: 47.11 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.734, allocations: 0.5164 MB / 1.07 GB, free: 46.62 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.7344, allocations: 203 kB / 1.07 GB, free: 46.62 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/0.7349, allocations: 367.9 kB / 1.07 GB, free: 46.47 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007946/0.7357, allocations: 0.5677 MB / 1.071 GB, free: 46.31 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7357, allocations: 2.141 kB / 1.071 GB, free: 46.31 MB / 1.01 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001505/0.7372, allocations: 0.8857 MB / 1.072 GB, free: 46.16 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.7372, allocations: 5.938 kB / 1.072 GB, free: 46.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.7372, allocations: 3.594 kB / 1.072 GB, free: 46.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/0.7378, allocations: 186.4 kB / 1.072 GB, free: 46.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.7381, allocations: 105.6 kB / 1.072 GB, free: 46.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/0.7412, allocations: 3.416 MB / 1.076 GB, free: 44.14 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.7418, allocations: 72.67 kB / 1.076 GB, free: 44.11 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.7418, allocations: 25.28 kB / 1.076 GB, free: 44.11 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003784/0.7422, allocations: 265.3 kB / 1.076 GB, free: 43.95 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.7424, allocations: 175.3 kB / 1.076 GB, free: 43.87 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.7439, allocations: 0.7789 MB / 1.077 GB, free: 43.77 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.7439, allocations: 7 kB / 1.077 GB, free: 43.77 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7439, allocations: 3.75 kB / 1.077 GB, free: 43.77 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.7439, allocations: 3.234 kB / 1.077 GB, free: 43.77 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/0.7466, allocations: 1.881 MB / 1.079 GB, free: 43.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.7466, allocations: 0 / 1.079 GB, free: 43.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.7469, allocations: 46.89 kB / 1.079 GB, free: 43.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005207/0.7474, allocations: 209.3 kB / 1.079 GB, free: 43.38 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.7474, allocations: 16.16 kB / 1.079 GB, free: 43.38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003566/0.751, allocations: 5.409 MB / 1.084 GB, free: 39.43 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.751, allocations: 5.969 kB / 1.084 GB, free: 39.43 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.7528, allocations: 1.19 MB / 1.085 GB, free: 39.11 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.7531, allocations: 180.6 kB / 1.086 GB, free: 39.02 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.7532, allocations: 16.33 kB / 1.086 GB, free: 39.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.7535, allocations: 31.27 kB / 1.086 GB, free: 39.02 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.7537, allocations: 65.23 kB / 1.086 GB, free: 39.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/0.7537, allocations: 23.83 kB / 1.086 GB, free: 39.02 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009639/0.7547, allocations: 0.8411 MB / 1.086 GB, free: 38.87 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7547, allocations: 0 / 1.086 GB, free: 38.87 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008653/0.7555, allocations: 237.9 kB / 1.087 GB, free: 38.85 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.003433/0.759, allocations: 0.5162 MB / 1.087 GB, free: 38.69 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.7605, allocations: 0.806 MB / 1.088 GB, free: 38.46 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7605, allocations: 1.203 kB / 1.088 GB, free: 38.46 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008462/0.7613, allocations: 0.7033 MB / 1.089 GB, free: 38.09 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.7625, allocations: 282.8 kB / 1.089 GB, free: 38.07 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.7661, allocations: 2.273 MB / 1.091 GB, free: 37.12 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/0.7667, allocations: 0.6227 MB / 1.092 GB, free: 37 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006156/0.7673, allocations: 253.4 kB / 1.092 GB, free: 36.97 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.7677, allocations: 155.6 kB / 1.092 GB, free: 36.96 MB / 1.01 GB Notification: Performance of SimCode: time 1.663e-06/0.7677, allocations: 2.047 kB / 1.092 GB, free: 36.96 MB / 1.01 GB Notification: Performance of Templates: time 0.02599/0.7936, allocations: 13.06 MB / 1.105 GB, free: 35.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.625600741012022]