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.0013/0.0013, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001044/0.001044, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9471/0.9471, allocations: 177.2 MB / 203.4 MB, free: 5.609 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.13/2.13, allocations: 429.5 MB / 0.6733 GB, free: 4.023 MB / 0.6355 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.222e-06/1.222e-06, allocations: 0 / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.507e-05, allocations: 5.266 kB / 0.8781 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001802/0.001817, allocations: 1.59 MB / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005948/0.002411, allocations: 0.4932 MB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.00246, allocations: 0 / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.002488, allocations: 9.016 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.351e-05/0.002532, allocations: 3.938 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.00277, allocations: 44.83 kB / 0.8802 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.002863, allocations: 43.86 kB / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.002952, allocations: 11.98 kB / 0.8803 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.00308, allocations: 36.98 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.67e-05/0.003107, allocations: 15.98 kB / 0.8803 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.003121, allocations: 4.719 kB / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.39e-05/0.003155, allocations: 4 kB / 0.8803 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.00317, allocations: 21.44 kB / 0.8803 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.003189, allocations: 8 kB / 0.8804 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.751e-05/0.003287, allocations: 47.77 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003289, allocations: 0 / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003289, allocations: 0.875 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.003293, allocations: 0 / 0.8804 GB, free: 4.004 MB / 0.8386 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.0003564/0.003649, allocations: 389.5 kB / 0.8808 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.003688, allocations: 8.031 kB / 0.8808 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.82e-05/0.003786, allocations: 21.41 kB / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.003906, allocations: 121.2 kB / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.003925, allocations: 4.375 kB / 0.8809 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.003934, allocations: 1.469 kB / 0.8809 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.004052, allocations: 66.94 kB / 0.881 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.004059, allocations: 192 / 0.881 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.004068, allocations: 1.875 kB / 0.881 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.004075, allocations: 7.875 kB / 0.881 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.528e-05/0.00411, allocations: 15.98 kB / 0.881 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.004386, allocations: 287 kB / 0.8813 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.004522, allocations: 54.92 kB / 0.8813 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.004548, allocations: 15.75 kB / 0.8814 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.004562, allocations: 0 / 0.8814 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.00458, allocations: 37.33 kB / 0.8814 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 6.11e-07/0.004581, allocations: 0 / 0.8814 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001415/0.004722, allocations: 53.67 kB / 0.8814 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.004745, allocations: 51.41 kB / 0.8815 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.004814, allocations: 175.1 kB / 0.8817 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.004823, allocations: 25.7 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.004866, allocations: 138.8 kB / 0.8818 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.004884, allocations: 13.5 kB / 0.8818 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.004909, allocations: 19.38 kB / 0.8818 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.005006, allocations: 496.1 kB / 0.8823 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.005024, allocations: 7.984 kB / 0.8823 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.158e-05/0.005036, allocations: 1.094 kB / 0.8823 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.003e-05/0.005066, allocations: 19.97 kB / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005067, allocations: 0 / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.676e-05/0.005124, allocations: 57.56 kB / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.005134, allocations: 7.938 kB / 0.8824 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.005138, allocations: 0 / 0.8824 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.005149, allocations: 4 kB / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.796e-05/0.005187, allocations: 11.98 kB / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.005191, allocations: 0 / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.005212, allocations: 4 kB / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.005217, allocations: 0 / 0.8824 GB, free: 1.734 MB / 0.8386 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 5.151e-05/0.005269, allocations: 152.6 kB / 0.8826 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.005285, allocations: 11.89 kB / 0.8826 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.005314, allocations: 19.98 kB / 0.8826 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.005317, allocations: 4 kB / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.00532, allocations: 0 / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.005322, allocations: 0 / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.829e-05/0.005411, allocations: 124.6 kB / 0.8827 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.005411, allocations: 0 / 0.8827 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/0.005437, allocations: 15.92 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.005437, allocations: 0 / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.005446, allocations: 4 kB / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005446, allocations: 0 / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.005447, allocations: 0 / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.105e-05/0.005538, allocations: 203.8 kB / 0.8829 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.005548, allocations: 7.891 kB / 0.8829 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-06/0.005558, allocations: 0 / 0.8829 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.489e-05/0.005593, allocations: 7.984 kB / 0.883 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.005618, allocations: 0 / 0.883 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.005621, allocations: 0 / 0.883 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.735e-05/0.005658, allocations: 135.5 kB / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005658, allocations: 0 / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001395/0.005797, allocations: 8 kB / 0.8831 GB, free: 0.9883 MB / 0.8386 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 5.672e-05/0.005854, allocations: 95.25 kB / 0.8832 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.51e-05/0.005929, allocations: 27.61 kB / 0.8832 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.00593, allocations: 0 / 0.8832 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.859e-05/0.005949, allocations: 15.69 kB / 0.8832 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.006123, allocations: 7.984 kB / 0.8832 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.00653, allocations: 146.2 kB / 0.8834 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.366e-05/0.006564, allocations: 59.34 kB / 0.8834 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.826e-05/0.006582, allocations: 4 kB / 0.8834 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.006608, allocations: 12.5 kB / 0.8834 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/0.006609, allocations: 0 / 0.8834 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of Templates: time 0.001938/0.008547, allocations: 472.2 kB / 0.8839 GB, free: 104 kB / 0.8386 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.328515233006328]