Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.001752/0.001752, allocations: 81.5 kB / 19.44 MB, free: 340 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.001954/0.001954, allocations: 169.2 kB / 22.76 MB, free: 1.656 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.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.404/3.404, allocations: 429.4 MB / 0.6729 GB, free: 4.016 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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8774 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.438e-05, allocations: 6.312 kB / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.2123/0.2124, allocations: 152.8 MB / 1.027 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.03288/0.2452, allocations: 22.07 MB / 1.048 GB, free: 7.172 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.2471, allocations: 67.44 kB / 1.048 GB, free: 7.105 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.002111/0.2492, allocations: 1.188 MB / 1.049 GB, free: 5.914 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.2513, allocations: 0.9219 MB / 1.05 GB, free: 4.988 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.2525, allocations: 394.6 kB / 1.051 GB, free: 4.602 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002005/0.2545, allocations: 1.321 MB / 1.052 GB, free: 3.277 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.2556, allocations: 0.5706 MB / 1.053 GB, free: 2.703 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.2571, allocations: 0.7133 MB / 1.053 GB, free: 1.988 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.2586, allocations: 0.9494 MB / 1.054 GB, free: 1.039 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.2588, allocations: 68 kB / 1.054 GB, free: 0.9727 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.2592, allocations: 107.9 kB / 1.054 GB, free: 0.8672 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004014/0.2596, allocations: 340.6 kB / 1.055 GB, free: 0.5312 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004828/0.2601, allocations: 291 kB / 1.055 GB, free: 252 kB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.4271/0.6872, allocations: 1.228 MB / 1.056 GB, free: 51.79 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.6872, allocations: 0 / 1.056 GB, free: 51.79 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6872, allocations: 0 / 1.056 GB, free: 51.79 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.6873, allocations: 0 / 1.056 GB, free: 51.79 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002148/0.6894, allocations: 1.768 MB / 1.058 GB, free: 50.83 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.6894, allocations: 9.5 kB / 1.058 GB, free: 50.83 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.6896, allocations: 183.8 kB / 1.058 GB, free: 50.75 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.6909, allocations: 0.9686 MB / 1.059 GB, free: 50.41 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.691, allocations: 97.3 kB / 1.059 GB, free: 50.35 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.28e-05/0.6911, allocations: 58.11 kB / 1.059 GB, free: 50.34 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008172/0.6919, allocations: 0.5285 MB / 1.06 GB, free: 50.27 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.6919, allocations: 1.562 kB / 1.06 GB, free: 50.27 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.692, allocations: 20.64 kB / 1.06 GB, free: 50.27 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.692, allocations: 8.469 kB / 1.06 GB, free: 50.27 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007055/0.6927, allocations: 372.1 kB / 1.06 GB, free: 50.27 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003019/0.6957, allocations: 2.181 MB / 1.062 GB, free: 49.67 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008116/0.6965, allocations: 412.3 kB / 1.063 GB, free: 49.63 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005725/0.6971, allocations: 280.4 kB / 1.063 GB, free: 49.61 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.6971, allocations: 9.266 kB / 1.063 GB, free: 49.61 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004528/0.6976, allocations: 279 kB / 1.063 GB, free: 49.55 MB / 1.01 GB Notification: Performance of pre-optimization done (n=44): time 2.995e-06/0.6976, allocations: 0 / 1.063 GB, free: 49.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=44): time 0.002386/0.7, allocations: 0.9859 MB / 1.064 GB, free: 49.41 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.7, allocations: 66.23 kB / 1.064 GB, free: 49.34 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.7012, allocations: 1.289 MB / 1.065 GB, free: 49.13 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.7012, allocations: 36.58 kB / 1.065 GB, free: 49.1 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.7016, allocations: 0.692 MB / 1.066 GB, free: 48.9 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.564e-05/0.7017, allocations: 157.6 kB / 1.066 GB, free: 48.81 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.7019, allocations: 127.7 kB / 1.066 GB, free: 48.78 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.702, allocations: 0.5138 MB / 1.067 GB, free: 48.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.7024, allocations: 188.1 kB / 1.067 GB, free: 48.3 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.7028, allocations: 374.2 kB / 1.067 GB, free: 48.11 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007309/0.7035, allocations: 0.5507 MB / 1.068 GB, free: 47.92 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.7035, allocations: 0 / 1.068 GB, free: 47.92 MB / 1.01 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001341/0.7049, allocations: 0.798 MB / 1.069 GB, free: 47.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.7049, allocations: 6.781 kB / 1.069 GB, free: 47.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.7049, allocations: 3.719 kB / 1.069 GB, free: 47.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004614/0.7054, allocations: 146.8 kB / 1.069 GB, free: 47.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.7057, allocations: 101.5 kB / 1.069 GB, free: 47.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.7081, allocations: 3.077 MB / 1.072 GB, free: 45.79 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.7085, allocations: 71.72 kB / 1.072 GB, free: 45.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.7085, allocations: 21.23 kB / 1.072 GB, free: 45.77 MB / 1.01 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,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) * 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.0002818/0.7088, allocations: 258.7 kB / 1.072 GB, free: 45.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.7089, allocations: 138.8 kB / 1.072 GB, free: 45.54 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.7101, allocations: 0.6595 MB / 1.073 GB, free: 45.45 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.7101, allocations: 9.625 kB / 1.073 GB, free: 45.45 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.7101, allocations: 3.75 kB / 1.073 GB, free: 45.45 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.7102, allocations: 3.234 kB / 1.073 GB, free: 45.45 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.7124, allocations: 1.63 MB / 1.075 GB, free: 45.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7124, allocations: 0 / 1.075 GB, free: 45.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.7126, allocations: 52.73 kB / 1.075 GB, free: 45.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004201/0.7131, allocations: 175.4 kB / 1.075 GB, free: 45.08 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.7131, allocations: 15.86 kB / 1.075 GB, free: 45.08 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003001/0.7161, allocations: 5.198 MB / 1.08 GB, free: 41.14 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.7161, allocations: 3.797 kB / 1.08 GB, free: 41.14 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.7176, allocations: 1.041 MB / 1.081 GB, free: 40.84 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.7179, allocations: 142.5 kB / 1.081 GB, free: 40.77 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.733e-05/0.718, allocations: 21.23 kB / 1.081 GB, free: 40.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.7182, allocations: 26.02 kB / 1.081 GB, free: 40.77 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.7184, allocations: 57.42 kB / 1.081 GB, free: 40.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.7184, allocations: 18.69 kB / 1.081 GB, free: 40.77 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007814/0.7192, allocations: 0.7186 MB / 1.082 GB, free: 40.61 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.7192, allocations: 0 / 1.082 GB, free: 40.61 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007311/0.7199, allocations: 210.2 kB / 1.082 GB, free: 40.59 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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 (30): * Single equations (assignments): 22 * 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.003389/0.7233, allocations: 0.5036 MB / 1.083 GB, free: 40.45 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.7245, allocations: 0.7165 MB / 1.083 GB, free: 40.25 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/0.7245, allocations: 0.8125 kB / 1.083 GB, free: 40.25 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007031/0.7252, allocations: 0.6461 MB / 1.084 GB, free: 39.88 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009855/0.7262, allocations: 248.3 kB / 1.084 GB, free: 39.85 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.7286, allocations: 1.918 MB / 1.086 GB, free: 39.03 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.729, allocations: 0.527 MB / 1.087 GB, free: 38.92 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000477/0.7295, allocations: 215.3 kB / 1.087 GB, free: 38.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.7298, allocations: 133 kB / 1.087 GB, free: 38.89 MB / 1.01 GB Notification: Performance of SimCode: time 7.91e-07/0.7298, allocations: 0 / 1.087 GB, free: 38.89 MB / 1.01 GB Notification: Performance of Templates: time 0.02076/0.7505, allocations: 11.29 MB / 1.098 GB, free: 37.69 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.250829751952551]