Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001864/0.001864, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002212/0.002212, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.396/1.396, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.616/2.616, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002081/0.002081, allocations: 59.91 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2714, allocations: 169.9 MB / 1.117 GB, free: 2.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002817/0.2742, allocations: 1.554 MB / 1.119 GB, free: 1.008 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009113/0.2751, allocations: 478.9 kB / 1.119 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.577e-05/0.2752, allocations: 4 kB / 1.119 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.749e-05/0.2752, allocations: 3.938 kB / 1.119 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.879e-05/0.2753, allocations: 7.875 kB / 1.119 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.2755, allocations: 31.89 kB / 1.119 GB, free: 500 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.2756, allocations: 47.84 kB / 1.119 GB, free: 452 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.568e-05/0.2757, allocations: 20 kB / 1.119 GB, free: 432 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.2758, allocations: 31.84 kB / 1.12 GB, free: 400 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.2759, allocations: 15.92 kB / 1.12 GB, free: 384 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.2759, allocations: 4 kB / 1.12 GB, free: 380 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.647e-05/0.2759, allocations: 7.984 kB / 1.12 GB, free: 372 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.2759, allocations: 15.94 kB / 1.12 GB, free: 356 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.276, allocations: 15.92 kB / 1.12 GB, free: 340 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.2761, allocations: 47.75 kB / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2761, allocations: 3.938 kB / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2761, allocations: 0 / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2761, allocations: 4 kB / 1.12 GB, free: 284 kB / 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.0005075/0.2766, allocations: 286.2 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2766, allocations: 15.97 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.2768, allocations: 12.89 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.277, allocations: 126.4 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.277, allocations: 4.375 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.277, allocations: 384 / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.2772, allocations: 73.97 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2772, allocations: 4 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.2772, allocations: 0 / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2772, allocations: 0 / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.2774, allocations: 39.97 kB / 1.12 GB, free: 15.67 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.2778, allocations: 240.3 kB / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.2782, allocations: 62.53 kB / 1.12 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2783, allocations: 28.91 kB / 1.12 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.2783, allocations: 4 kB / 1.12 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.2783, allocations: 30.56 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.2783, allocations: 0 / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0003808/0.2787, allocations: 81.59 kB / 1.121 GB, free: 15.17 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.2787, allocations: 59.41 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.096e-05/0.2788, allocations: 109.8 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.2788, allocations: 25.7 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.2789, allocations: 100.1 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.2789, allocations: 7.953 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.279, allocations: 17.7 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2791, allocations: 318.8 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.711e-05/0.2792, allocations: 12.36 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.652e-05/0.2793, allocations: 19.98 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.2795, allocations: 44.77 kB / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2795, allocations: 0 / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002301/0.2797, allocations: 77.84 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2797, allocations: 4 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2797, allocations: 4 kB / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2797, allocations: 4.031 kB / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/0.2798, allocations: 7.984 kB / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2798, allocations: 3.984 kB / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/0.2799, allocations: 11.92 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2799, allocations: 4 kB / 1.121 GB, free: 14.3 MB / 1.076 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 8.119e-05/0.28, allocations: 117.8 kB / 1.122 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.28, allocations: 7.953 kB / 1.122 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.28, allocations: 4 kB / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.28, allocations: 0 / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.28, allocations: 0 / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.28, allocations: 4 kB / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.2802, allocations: 125.2 kB / 1.122 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2802, allocations: 0 / 1.122 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.688e-05/0.2803, allocations: 11.94 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2803, allocations: 0 / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2803, allocations: 4 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.2803, allocations: 7.984 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2803, allocations: 0 / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.2805, allocations: 163.5 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.2806, allocations: 7.953 kB / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.2806, allocations: 7.984 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.2807, allocations: 0 / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.2807, allocations: 4 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.2807, allocations: 0 / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.377e-05/0.2808, allocations: 95.2 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.2808, allocations: 4 kB / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00023/0.281, allocations: 8 kB / 1.122 GB, free: 13.68 MB / 1.076 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 8.963e-05/0.2811, allocations: 91.25 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.2813, allocations: 43.95 kB / 1.122 GB, free: 13.54 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2813, allocations: 0 / 1.122 GB, free: 13.54 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.828e-05/0.2814, allocations: 20.27 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.2816, allocations: 15.88 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.282, allocations: 154.7 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.11e-05/0.2821, allocations: 67.34 kB / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.361e-05/0.2821, allocations: 7.984 kB / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.2821, allocations: 8.5 kB / 1.122 GB, free: 13.22 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.2821, allocations: 0 / 1.122 GB, free: 13.22 MB / 1.076 GB Notification: Performance of Templates: time 0.002678/0.2848, allocations: 445.8 kB / 1.123 GB, free: 12.8 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.920662558986805]