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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 191.1 kB / 22.11 MB, free: 4.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 250.8 MB, free: 2.934 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.945/2.945, allocations: 495.8 MB / 0.783 GB, free: 12.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 59.91 kB / 1.137 GB, free: 12.27 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003199/1.015, allocations: 1.544 MB / 1.308 GB, free: 32.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007601/1.016, allocations: 447.4 kB / 1.309 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/1.016, allocations: 0 / 1.309 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.568e-05/1.016, allocations: 7.875 kB / 1.309 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.723e-05/1.016, allocations: 6.688 kB / 1.309 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/1.016, allocations: 36.14 kB / 1.309 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.385e-05/1.016, allocations: 42.69 kB / 1.309 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/1.016, allocations: 13.41 kB / 1.309 GB, free: 32.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/1.017, allocations: 27.5 kB / 1.309 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.636e-05/1.017, allocations: 20.16 kB / 1.309 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/1.017, allocations: 2.844 kB / 1.309 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/1.017, allocations: 5.812 kB / 1.309 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/1.017, allocations: 7.938 kB / 1.309 GB, free: 32.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/1.017, allocations: 21.39 kB / 1.309 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/1.017, allocations: 45.95 kB / 1.309 GB, free: 32.28 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.017, allocations: 4 kB / 1.309 GB, free: 32.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/1.017, allocations: 0 / 1.309 GB, free: 32.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.343e-06/1.017, allocations: 0 / 1.309 GB, free: 32.27 MB / 1.061 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.0004991/1.017, allocations: 286 kB / 1.309 GB, free: 32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/1.017, allocations: 8.812 kB / 1.309 GB, free: 32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/1.017, allocations: 7.891 kB / 1.309 GB, free: 32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.57e-05/1.017, allocations: 117.2 kB / 1.309 GB, free: 31.86 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/1.018, allocations: 3.5 kB / 1.309 GB, free: 31.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/1.018, allocations: 7.312 kB / 1.309 GB, free: 31.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/1.018, allocations: 67.7 kB / 1.309 GB, free: 31.81 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.018, allocations: 3.984 kB / 1.309 GB, free: 31.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/1.018, allocations: 0 / 1.309 GB, free: 31.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/1.018, allocations: 3.062 kB / 1.309 GB, free: 31.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/1.018, allocations: 44 kB / 1.309 GB, free: 31.79 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/1.018, allocations: 272.2 kB / 1.31 GB, free: 31.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/1.019, allocations: 60.94 kB / 1.31 GB, free: 31.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.017e-05/1.019, allocations: 20.8 kB / 1.31 GB, free: 31.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/1.019, allocations: 2.938 kB / 1.31 GB, free: 31.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/1.019, allocations: 34.5 kB / 1.31 GB, free: 31.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/1.019, allocations: 4 kB / 1.31 GB, free: 31.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0003605/1.019, allocations: 89.23 kB / 1.31 GB, free: 31.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/1.019, allocations: 54.78 kB / 1.31 GB, free: 31.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.659e-05/1.019, allocations: 120.2 kB / 1.31 GB, free: 31.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/1.019, allocations: 25.7 kB / 1.31 GB, free: 31.19 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/1.019, allocations: 90.28 kB / 1.31 GB, free: 31.1 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/1.019, allocations: 10.83 kB / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/1.019, allocations: 20.41 kB / 1.31 GB, free: 31.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.032e-05/1.019, allocations: 322.2 kB / 1.31 GB, free: 30.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/1.019, allocations: 18.38 kB / 1.31 GB, free: 30.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/1.02, allocations: 15.45 kB / 1.311 GB, free: 30.74 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/1.02, allocations: 42.95 kB / 1.311 GB, free: 30.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.02, allocations: 0 / 1.311 GB, free: 30.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001962/1.02, allocations: 73.81 kB / 1.311 GB, free: 30.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.02, allocations: 8.844 kB / 1.311 GB, free: 30.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/1.02, allocations: 0 / 1.311 GB, free: 30.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.02, allocations: 0 / 1.311 GB, free: 30.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.633e-05/1.02, allocations: 11.8 kB / 1.311 GB, free: 30.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/1.02, allocations: 0 / 1.311 GB, free: 30.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/1.02, allocations: 2.844 kB / 1.311 GB, free: 30.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/1.02, allocations: 3.938 kB / 1.311 GB, free: 30.68 MB / 1.061 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 5.284e-05/1.02, allocations: 124.7 kB / 1.311 GB, free: 30.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/1.02, allocations: 10.08 kB / 1.311 GB, free: 30.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/1.02, allocations: 6.969 kB / 1.311 GB, free: 30.53 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.02, allocations: 0 / 1.311 GB, free: 30.53 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.02, allocations: 0 / 1.311 GB, free: 30.53 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/1.02, allocations: 0 / 1.311 GB, free: 30.53 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/1.02, allocations: 153.9 kB / 1.311 GB, free: 30.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.02, allocations: 0 / 1.311 GB, free: 30.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.036e-05/1.02, allocations: 12.98 kB / 1.311 GB, free: 30.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/1.02, allocations: 4.328 kB / 1.311 GB, free: 30.35 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/1.02, allocations: 2.844 kB / 1.311 GB, free: 30.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.02, allocations: 0 / 1.311 GB, free: 30.35 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.02, allocations: 0 / 1.311 GB, free: 30.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/1.021, allocations: 171.8 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/1.021, allocations: 6.266 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/1.021, allocations: 0 / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/1.021, allocations: 6.875 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/1.021, allocations: 14.28 kB / 1.311 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/1.021, allocations: 0 / 1.311 GB, free: 30.19 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.974e-05/1.021, allocations: 98.38 kB / 1.311 GB, free: 30.11 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.021, allocations: 0 / 1.311 GB, free: 30.11 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002135/1.021, allocations: 9.5 kB / 1.311 GB, free: 30.11 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 7.629e-05/1.021, allocations: 93.44 kB / 1.311 GB, free: 30.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002317/1.021, allocations: 45.17 kB / 1.311 GB, free: 30.01 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.021, allocations: 0 / 1.311 GB, free: 30.01 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.735e-05/1.021, allocations: 19.28 kB / 1.311 GB, free: 30 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/1.022, allocations: 7.141 kB / 1.311 GB, free: 30 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/1.022, allocations: 155 kB / 1.312 GB, free: 29.87 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/1.022, allocations: 0.6841 MB / 1.312 GB, free: 29.17 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.137e-05/1.022, allocations: 5.922 kB / 1.312 GB, free: 29.17 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/1.022, allocations: 7.438 kB / 1.312 GB, free: 29.16 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.022, allocations: 0 / 1.312 GB, free: 29.16 MB / 1.061 GB Notification: Performance of Templates: time 0.002584/1.025, allocations: 493.2 kB / 1.313 GB, free: 29.09 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins/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.14419109839946]