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.001919/0.001919, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.001952/0.001952, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.569/1.569, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.023/3.023, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.46e-05, allocations: 4.562 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.004573/0.004608, allocations: 1.559 MB / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.006086, allocations: 0.4884 MB / 0.8128 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.049e-05/0.006167, allocations: 1 kB / 0.8128 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.601e-05/0.006203, allocations: 3.938 kB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.063e-05/0.006283, allocations: 4.562 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.006607, allocations: 41.17 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.006804, allocations: 51.84 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.006919, allocations: 11.98 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.00714, allocations: 35.91 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.007195, allocations: 13.14 kB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.007224, allocations: 7.984 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.171e-05/0.007275, allocations: 8 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.007301, allocations: 12.61 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.007336, allocations: 8.906 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.00752, allocations: 55.73 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007523, allocations: 0 / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.32e-07/0.007523, allocations: 0.6562 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.007528, allocations: 4 kB / 0.813 GB, free: 15.83 MB / 0.7761 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.000769/0.008297, allocations: 388.9 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.008344, allocations: 9.281 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.008555, allocations: 16.92 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.00879, allocations: 124.5 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.008817, allocations: 6.344 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.008837, allocations: 4.375 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.009073, allocations: 62.17 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.009085, allocations: 192 / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.009096, allocations: 4.375 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.009104, allocations: 4.938 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.009331, allocations: 35.97 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.009952, allocations: 285.3 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.01038, allocations: 74.91 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.0105, allocations: 24.64 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.01052, allocations: 0 / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.01056, allocations: 34.14 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.01056, allocations: 0 / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004969/0.01106, allocations: 90.86 kB / 0.8141 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.01111, allocations: 51.41 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.0113, allocations: 174.5 kB / 0.8143 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.01134, allocations: 25.7 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.01147, allocations: 147.9 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.0115, allocations: 11.91 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-05/0.01157, allocations: 23.38 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003424/0.01191, allocations: 496.6 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.01202, allocations: 13.34 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.967e-05/0.01212, allocations: 15.98 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.01233, allocations: 32.83 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.01234, allocations: 0 / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003075/0.01264, allocations: 73.55 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.01266, allocations: 7.188 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.01267, allocations: 0.8438 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.01268, allocations: 0 / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.01279, allocations: 9.688 kB / 0.8152 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.01279, allocations: 0 / 0.8152 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.745e-05/0.01287, allocations: 7.938 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.01289, allocations: 4 kB / 0.8152 GB, free: 13.43 MB / 0.7761 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 0.0001684/0.01305, allocations: 158.5 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.01311, allocations: 7.938 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.01316, allocations: 8 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.01316, allocations: 4 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01317, allocations: 0 / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.01318, allocations: 4.797 kB / 0.8153 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.01346, allocations: 128.6 kB / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01346, allocations: 3.406 kB / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.278e-05/0.01355, allocations: 7.938 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.01355, allocations: 0 / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.01356, allocations: 3.938 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.01357, allocations: 19.91 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01358, allocations: 0 / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.01401, allocations: 211.9 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.01402, allocations: 3.938 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.01404, allocations: 0 / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.01418, allocations: 8.625 kB / 0.8157 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.01423, allocations: 0.5 kB / 0.8157 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.01424, allocations: 7.984 kB / 0.8157 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001259/0.01437, allocations: 132.8 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01437, allocations: 0 / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004076/0.01478, allocations: 11.89 kB / 0.8159 GB, free: 12.66 MB / 0.7761 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 0.0001768/0.01495, allocations: 100.1 kB / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000425/0.01538, allocations: 45.67 kB / 0.816 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01538, allocations: 0 / 0.816 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.01552, allocations: 27.67 kB / 0.816 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.01593, allocations: 192 / 0.816 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.01647, allocations: 159 kB / 0.8162 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.01657, allocations: 76.08 kB / 0.8162 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.591e-05/0.01662, allocations: 5.328 kB / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.01666, allocations: 12.5 kB / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.01666, allocations: 0.75 kB / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.004356/0.02102, allocations: 461.2 kB / 0.8167 GB, free: 11.76 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] 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: 7.980114471050911]