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.0009625/0.0009625, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009219/0.0009219, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9183/0.9183, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.866/1.866, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.934e-06/1.934e-06, allocations: 0 / 0.8115 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.08e-05, allocations: 3.562 kB / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003336/0.003367, allocations: 1.583 MB / 0.813 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009016/0.004269, allocations: 0.4884 MB / 0.8135 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.299e-05/0.004342, allocations: 0 / 0.8135 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.004376, allocations: 5.125 kB / 0.8135 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.004438, allocations: 11.86 kB / 0.8135 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.004768, allocations: 41.48 kB / 0.8136 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.004907, allocations: 43.8 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.00502, allocations: 11.98 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.005212, allocations: 40.62 kB / 0.8136 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.797e-05/0.00525, allocations: 11.97 kB / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.005268, allocations: 4.531 kB / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.696e-05/0.005315, allocations: 13.66 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.005331, allocations: 11.92 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.005359, allocations: 8 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.005498, allocations: 43.77 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.005502, allocations: 3.984 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.21e-07/0.005503, allocations: 0.6562 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.005508, allocations: 0 / 0.8137 GB, free: 15.81 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.0004824/0.00599, allocations: 389.4 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.006033, allocations: 9.188 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.006182, allocations: 16.89 kB / 0.8141 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.006359, allocations: 124.5 kB / 0.8143 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.006383, allocations: 5.75 kB / 0.8143 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.006396, allocations: 4.375 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.006564, allocations: 70.88 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.006573, allocations: 1.938 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.006584, allocations: 4.312 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.006593, allocations: 3.938 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.751e-05/0.006651, allocations: 15.98 kB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.007048, allocations: 281.7 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.007233, allocations: 54.92 kB / 0.8147 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.007268, allocations: 15.73 kB / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.00728, allocations: 0 / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.007307, allocations: 38 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.007308, allocations: 4 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001907/0.007499, allocations: 56.05 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.007534, allocations: 51.41 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.007639, allocations: 169.9 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.007654, allocations: 29.7 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.007718, allocations: 138.9 kB / 0.8152 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.007739, allocations: 7.906 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.007778, allocations: 25.19 kB / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.00792, allocations: 496.1 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.007945, allocations: 4 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.007963, allocations: 4 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.008007, allocations: 15.69 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.00801, allocations: 4.516 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.383e-05/0.008104, allocations: 49.58 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.00812, allocations: 8.562 kB / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.008125, allocations: 5.766 kB / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.008138, allocations: 0 / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.744e-05/0.008196, allocations: 4 kB / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.008203, allocations: 3.984 kB / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.494e-05/0.008237, allocations: 7.953 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.008246, allocations: 6.578 kB / 0.8158 GB, free: 13.54 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 7.713e-05/0.008323, allocations: 156.6 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.008352, allocations: 7.938 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.008387, allocations: 8 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.008389, allocations: 0 / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.008394, allocations: 4 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.008397, allocations: 5.062 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.008558, allocations: 128.6 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.008559, allocations: 0 / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.008605, allocations: 16.7 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.008607, allocations: 0 / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.008615, allocations: 0.5625 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.008618, allocations: 4.781 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.00862, allocations: 0 / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.008779, allocations: 195.9 kB / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.00879, allocations: 11.61 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.008804, allocations: 0 / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-05/0.008866, allocations: 4 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.008903, allocations: 0 / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.00891, allocations: 8 kB / 0.8163 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.843e-05/0.008969, allocations: 127.2 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.21e-07/0.008969, allocations: 0 / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002665/0.009235, allocations: 11.95 kB / 0.8164 GB, free: 12.8 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 9.758e-05/0.009333, allocations: 101.2 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.009451, allocations: 23.98 kB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.009453, allocations: 0 / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.009488, allocations: 19.75 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.009804, allocations: 10.66 kB / 0.8166 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/0.01039, allocations: 160.2 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.593e-05/0.01043, allocations: 55.36 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.217e-05/0.01047, allocations: 9.109 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.0105, allocations: 8.5 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of SimCode: time 8.12e-07/0.0105, allocations: 1.125 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of Templates: time 0.00269/0.01319, allocations: 456.6 kB / 0.8172 GB, free: 11.93 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.972932612989098]