Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.001375/0.001375, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001465/0.001465, allocations: 211.1 kB / 23 MB, free: 4.934 MB / 14.72 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.252/3.252, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 68.62 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4296, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003258/0.4328, allocations: 1.532 MB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.4339, allocations: 478.8 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.4339, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.828e-05/0.434, allocations: 3.938 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.434, allocations: 11.88 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.4343, allocations: 35.89 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.4344, allocations: 51.84 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.4346, allocations: 11.98 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.4347, allocations: 31.86 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.4348, allocations: 23.84 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.4348, allocations: 4 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.908e-05/0.4348, allocations: 12 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.4349, allocations: 4 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.4349, allocations: 19.86 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.435, allocations: 55.75 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.435, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.492e-06/0.435, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.435, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005997/0.4356, allocations: 294.1 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.4357, allocations: 8.031 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.4359, allocations: 16.88 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.4361, allocations: 126.4 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.4361, allocations: 4.375 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.4361, allocations: 8.375 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.4364, allocations: 65.98 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4364, allocations: 0 / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.4364, allocations: 3.984 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4364, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.4366, allocations: 39.97 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.437, allocations: 240.3 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.4374, allocations: 70.53 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.4375, allocations: 24.91 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.4375, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.4375, allocations: 30.56 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.4375, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0003949/0.4379, allocations: 89.59 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.438, allocations: 59.39 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4381, allocations: 109.8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.4381, allocations: 25.7 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.4381, allocations: 92.09 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.4382, allocations: 7.953 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.4382, allocations: 17.7 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4384, allocations: 318.8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.462e-05/0.4385, allocations: 19.98 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-05/0.4385, allocations: 11.98 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.4387, allocations: 52.77 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4387, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002209/0.4389, allocations: 73.56 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.439, allocations: 11.98 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.439, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.439, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/0.4391, allocations: 8 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.4391, allocations: 4.359 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.553e-05/0.4391, allocations: 11.98 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.4391, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.331e-05/0.4392, allocations: 113.8 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.4393, allocations: 7.938 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.4393, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4393, allocations: 7.984 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4393, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.4393, allocations: 3.953 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.4393, allocations: 4 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.4394, allocations: 7.938 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.4395, allocations: 7.984 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000285/0.4397, allocations: 153.2 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002966/0.44, allocations: 242.8 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.554e-05/0.4401, allocations: 19.98 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.4402, allocations: 91.22 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of Backend: time 4.11e-07/0.4402, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004906/0.4407, allocations: 106.3 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005954/0.4413, allocations: 0.5896 MB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of Templates: time 0.003727/0.445, allocations: 0.6971 MB / 1.333 GB, free: 10.62 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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: 9.339698204996239]