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.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.001366/0.001366, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.00148/0.00148, allocations: 199.8 kB / 22.17 MB, free: 5.207 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.483/1.483, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.758/2.758, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.89 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.8217, allocations: 168.7 MB / 1.274 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003006/0.8247, allocations: 1.544 MB / 1.276 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008387/0.8255, allocations: 452.4 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.8256, allocations: 0 / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.8256, allocations: 3.938 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/0.8257, allocations: 3.938 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.8259, allocations: 31.91 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.445e-05/0.826, allocations: 39.86 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.8261, allocations: 19.97 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.8262, allocations: 27.86 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.535e-05/0.8263, allocations: 23.92 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.8263, allocations: 4 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.8263, allocations: 4 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.8263, allocations: 7.938 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.8264, allocations: 23.84 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.8265, allocations: 43.69 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8265, allocations: 0 / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8265, allocations: 3.938 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.8265, allocations: 0 / 1.276 GB, free: 2.203 MB / 0.9669 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.0005834/0.8271, allocations: 362.1 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.8271, allocations: 8.031 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.8272, allocations: 8.891 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.8273, allocations: 176.2 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.8274, allocations: 4.375 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.8274, allocations: 4.375 kB / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.8276, allocations: 69.95 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.8277, allocations: 4 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.8277, allocations: 4 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.8277, allocations: 0 / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.8279, allocations: 43.97 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.8284, allocations: 288.7 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.8288, allocations: 66.53 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.8289, allocations: 20.91 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.8289, allocations: 7.984 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.8289, allocations: 30.56 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.8289, allocations: 0 / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004006/0.8293, allocations: 97.48 kB / 1.277 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.8294, allocations: 55.41 kB / 1.277 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.8295, allocations: 125.8 kB / 1.277 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.8295, allocations: 25.7 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.8296, allocations: 92.08 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.8296, allocations: 7.953 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.8296, allocations: 9.719 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.8298, allocations: 330.8 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-05/0.8299, allocations: 15.98 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.83, allocations: 15.98 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.8302, allocations: 40.77 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8302, allocations: 0 / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002346/0.8304, allocations: 73.62 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.8304, allocations: 11.94 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.8304, allocations: 0 / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.8304, allocations: 0 / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.681e-05/0.8305, allocations: 15.98 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.8305, allocations: 0 / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.92e-05/0.8306, allocations: 7.984 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.8306, allocations: 0 / 1.278 GB, free: 0 / 0.9669 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.000133/0.8307, allocations: 119.8 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.8308, allocations: 3.953 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.8308, allocations: 15.91 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8308, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.8308, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.8308, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.831, allocations: 177.6 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.831, allocations: 0 / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.886e-05/0.8311, allocations: 11.92 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.8311, allocations: 4 kB / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.8311, allocations: 0 / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.8311, allocations: 0 / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8311, allocations: 4 kB / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.8314, allocations: 167.4 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.8314, allocations: 81.48 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.8314, allocations: 0 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.8315, allocations: 4 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.8316, allocations: 7.984 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.8316, allocations: 7.984 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.59e-05/0.8316, allocations: 95.27 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8316, allocations: 0 / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002243/0.8319, allocations: 11.94 kB / 1.279 GB, free: 15.21 MB / 0.9825 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.000117/0.832, allocations: 103.1 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.8322, allocations: 39.97 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8322, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.777e-05/0.8323, allocations: 23.98 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.8326, allocations: 7.938 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.833, allocations: 162 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.8334, allocations: 0.6885 MB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.851e-05/0.8334, allocations: 0 / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.8334, allocations: 15.44 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.8334, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of Templates: time 0.002852/0.8363, allocations: 486.3 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB " [Timeout remaining time 299] 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 cvode -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_2/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: 8.622096756938845]