Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009632/0.0009632, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001263/0.001263, allocations: 173.7 kB / 23.28 MB, free: 1.219 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 0.9539/0.9539, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.378/2.378, allocations: 438.1 MB / 0.682 GB, free: 14.2 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.8897 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.485e-05, allocations: 5.688 kB / 0.8897 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002749/0.002774, allocations: 1.589 MB / 0.8912 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009739/0.003748, allocations: 490.6 kB / 0.8917 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.405e-05/0.003822, allocations: 0 / 0.8917 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.003852, allocations: 3.938 kB / 0.8917 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.949e-05/0.003912, allocations: 7.938 kB / 0.8917 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.004177, allocations: 39.77 kB / 0.8918 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.004307, allocations: 51.84 kB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.004409, allocations: 15.98 kB / 0.8918 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.004599, allocations: 31.91 kB / 0.8919 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.271e-05/0.004641, allocations: 19.97 kB / 0.8919 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.004659, allocations: 4 kB / 0.8919 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.335e-05/0.004702, allocations: 4 kB / 0.8919 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.004723, allocations: 15.92 kB / 0.8919 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.004749, allocations: 8 kB / 0.8919 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.004858, allocations: 39.83 kB / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.00486, allocations: 0 / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.82e-07/0.004861, allocations: 4 kB / 0.892 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.004864, allocations: 3.938 kB / 0.892 GB, free: 7.488 MB / 0.8542 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.0003841/0.005248, allocations: 392.4 kB / 0.8923 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.00529, allocations: 8.031 kB / 0.8923 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.005415, allocations: 20.89 kB / 0.8924 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.005543, allocations: 116.6 kB / 0.8925 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.005563, allocations: 8.375 kB / 0.8925 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.005572, allocations: 8.375 kB / 0.8925 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.005705, allocations: 66.92 kB / 0.8925 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.005713, allocations: 192 / 0.8925 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.005721, allocations: 4.375 kB / 0.8926 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.00573, allocations: 3.938 kB / 0.8926 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/0.005763, allocations: 15.92 kB / 0.8926 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.006099, allocations: 260.4 kB / 0.8928 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.006244, allocations: 47.03 kB / 0.8929 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.006265, allocations: 15.69 kB / 0.8929 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.006281, allocations: 11.88 kB / 0.8929 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.0063, allocations: 37.39 kB / 0.8929 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.006302, allocations: 0 / 0.8929 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001454/0.006447, allocations: 45.69 kB / 0.893 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.006474, allocations: 51.41 kB / 0.893 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.006556, allocations: 173.9 kB / 0.8932 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.006567, allocations: 25.7 kB / 0.8932 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.006617, allocations: 146.8 kB / 0.8933 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.006642, allocations: 11.91 kB / 0.8934 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.006677, allocations: 23.36 kB / 0.8934 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.006796, allocations: 0.4884 MB / 0.8939 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.006818, allocations: 8 kB / 0.8939 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.519e-05/0.006833, allocations: 3.984 kB / 0.8939 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.568e-05/0.006869, allocations: 15.69 kB / 0.8939 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.00687, allocations: 0 / 0.8939 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.089e-05/0.006951, allocations: 49.62 kB / 0.8939 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.006965, allocations: 4 kB / 0.8939 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006969, allocations: 0 / 0.8939 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.006981, allocations: 0 / 0.8939 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.007049, allocations: 15.92 kB / 0.894 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.007052, allocations: 0 / 0.894 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.007081, allocations: 4 kB / 0.894 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.00709, allocations: 4 kB / 0.894 GB, free: 5.234 MB / 0.8542 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 6.752e-05/0.007157, allocations: 152.6 kB / 0.8941 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.007185, allocations: 11.89 kB / 0.8941 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.00722, allocations: 8 kB / 0.8941 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.007223, allocations: 3.984 kB / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.007225, allocations: 0 / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.007227, allocations: 0 / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.00735, allocations: 105.2 kB / 0.8942 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.007353, allocations: 3.984 kB / 0.8942 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.007398, allocations: 12 kB / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.0074, allocations: 0 / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.007406, allocations: 3.938 kB / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.007407, allocations: 0 / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.007408, allocations: 3.938 kB / 0.8943 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.00762, allocations: 199.8 kB / 0.8944 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.007628, allocations: 4.359 kB / 0.8944 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.00764, allocations: 7.938 kB / 0.8945 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.438e-05/0.007704, allocations: 4 kB / 0.8945 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.007728, allocations: 4 kB / 0.8945 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.007732, allocations: 4 kB / 0.8945 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.007777, allocations: 135.2 kB / 0.8946 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.007778, allocations: 0 / 0.8946 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000226/0.008004, allocations: 8 kB / 0.8946 GB, free: 4.512 MB / 0.8542 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 7.369e-05/0.008077, allocations: 95.23 kB / 0.8947 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.038e-05/0.008158, allocations: 23.61 kB / 0.8947 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.008159, allocations: 0 / 0.8947 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.348e-05/0.008182, allocations: 15.67 kB / 0.8947 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.008415, allocations: 8 kB / 0.8947 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.008846, allocations: 154.1 kB / 0.8949 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.882e-05/0.008885, allocations: 59.38 kB / 0.8949 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.613e-05/0.008911, allocations: 3.984 kB / 0.8949 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.008963, allocations: 70.2 kB / 0.895 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.008964, allocations: 0 / 0.895 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of Templates: time 0.002434/0.0114, allocations: 499.8 kB / 0.8955 GB, free: 3.543 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.1752784312702715]