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.001432/0.001432, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00158/0.00158, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.554/1.554, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.878/2.878, allocations: 377.8 MB / 0.6232 GB, free: 8.543 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.414e-06/2.414e-06, allocations: 0 / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.969e-05/4.21e-05, allocations: 7.312 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.004916/0.004958, allocations: 1.536 MB / 0.8123 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.006327, allocations: 489.5 kB / 0.8127 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.006408, allocations: 0 / 0.8127 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.006452, allocations: 11.92 kB / 0.8127 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.936e-05/0.006532, allocations: 9.469 kB / 0.8128 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.006886, allocations: 39.83 kB / 0.8128 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.007062, allocations: 39.86 kB / 0.8128 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.007199, allocations: 18.42 kB / 0.8128 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.007419, allocations: 35.89 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.052e-05/0.00747, allocations: 15.92 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.00749, allocations: 4 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.651e-05/0.007536, allocations: 8 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.007554, allocations: 7.984 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.007597, allocations: 16.64 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.00777, allocations: 59.73 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.007774, allocations: 0.5312 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.482e-06/0.007776, allocations: 0 / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.007781, allocations: 1.656 kB / 0.813 GB, free: 15.87 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.0006228/0.008404, allocations: 290.1 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.008447, allocations: 8.031 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.00863, allocations: 21.58 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.008914, allocations: 118.9 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.00894, allocations: 4.375 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.008954, allocations: 4.375 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.009185, allocations: 63.39 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.009196, allocations: 192 / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.009207, allocations: 1.75 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.009214, allocations: 7.875 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.00948, allocations: 43.95 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.009961, allocations: 230.2 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.01033, allocations: 67.17 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.01044, allocations: 24.91 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.01046, allocations: 0.8438 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.01049, allocations: 34.55 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.01049, allocations: 1.812 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004467/0.01094, allocations: 89.61 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.01099, allocations: 52.22 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.01111, allocations: 113.8 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.01114, allocations: 29.7 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.01122, allocations: 98.41 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.01124, allocations: 7.906 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.01128, allocations: 17.72 kB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.01146, allocations: 314.8 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.01158, allocations: 19.98 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.863e-05/0.01166, allocations: 17.98 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.01184, allocations: 32.84 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.01184, allocations: 7.875 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002434/0.01209, allocations: 76.06 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.0121, allocations: 7.938 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01211, allocations: 0 / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.01212, allocations: 0 / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.252e-05/0.01221, allocations: 11.98 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01221, allocations: 1.156 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.01227, allocations: 7.953 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.01228, allocations: 0 / 0.8147 GB, free: 13.92 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.0001124/0.01239, allocations: 122.4 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.01242, allocations: 3.922 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.01247, allocations: 12 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01247, allocations: 3.984 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01247, allocations: 0 / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.01248, allocations: 0 / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.01266, allocations: 113.3 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.01266, allocations: 3.938 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.018e-05/0.01274, allocations: 11.98 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.01274, allocations: 4 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.01275, allocations: 2.094 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01276, allocations: 3.984 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.01276, allocations: 4 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.01307, allocations: 171.4 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.01308, allocations: 3.938 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.01309, allocations: 0.9375 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.09e-05/0.01319, allocations: 7.984 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.01323, allocations: 5.125 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.01323, allocations: 0 / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.148e-05/0.0133, allocations: 91.64 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.0133, allocations: 1.062 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002621/0.01356, allocations: 11.89 kB / 0.8153 GB, free: 13.31 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.0001266/0.01369, allocations: 100.3 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.01393, allocations: 40.78 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01393, allocations: 0 / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.01403, allocations: 25.5 kB / 0.8155 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.01432, allocations: 18.28 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.01473, allocations: 134.3 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.063e-05/0.01481, allocations: 71.2 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.216e-05/0.01484, allocations: 1.344 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.01489, allocations: 20.48 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01489, allocations: 0 / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of Templates: time 0.003184/0.01807, allocations: 465.9 kB / 0.8161 GB, free: 12.42 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=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: 7.714722548960708]