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.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.0009872/0.0009872, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001042/0.001042, allocations: 162.8 kB / 24.86 MB, free: 8.891 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.9004/0.9004, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.731/1.731, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.623e-06/1.623e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.738e-05, allocations: 3.094 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002666/0.002683, allocations: 1.59 MB / 0.7898 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008145/0.003498, allocations: 493.6 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.003562, allocations: 0 / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.003596, allocations: 11.86 kB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.544e-05/0.003661, allocations: 5.156 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.003908, allocations: 31.84 kB / 0.7903 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.004027, allocations: 56.41 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.693e-05/0.004123, allocations: 13.39 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.00429, allocations: 39.89 kB / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.876e-05/0.004328, allocations: 15.92 kB / 0.7904 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.004345, allocations: 4 kB / 0.7904 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.275e-05/0.004388, allocations: 4.844 kB / 0.7905 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.004408, allocations: 15.92 kB / 0.7905 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.004432, allocations: 12.55 kB / 0.7905 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.004553, allocations: 35.84 kB / 0.7905 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004555, allocations: 0.7188 kB / 0.7905 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004556, allocations: 0 / 0.7905 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.00456, allocations: 0.9062 kB / 0.7905 GB, free: 9.961 MB / 0.7448 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.000419/0.004979, allocations: 389 kB / 0.7909 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.005015, allocations: 12.02 kB / 0.7909 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.005144, allocations: 22.55 kB / 0.7909 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.005287, allocations: 120.5 kB / 0.791 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.005309, allocations: 8.375 kB / 0.791 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.005317, allocations: 384 / 0.791 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.005443, allocations: 64.53 kB / 0.7911 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.005452, allocations: 4.188 kB / 0.7911 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.005461, allocations: 384 / 0.7911 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.005469, allocations: 3.938 kB / 0.7911 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.565e-05/0.005505, allocations: 13.02 kB / 0.7911 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.005812, allocations: 264.2 kB / 0.7914 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.005963, allocations: 50.33 kB / 0.7914 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.005984, allocations: 7.688 kB / 0.7914 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.005996, allocations: 7.938 kB / 0.7914 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.006017, allocations: 33.39 kB / 0.7915 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.006018, allocations: 0 / 0.7915 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001472/0.006165, allocations: 57.52 kB / 0.7915 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.006196, allocations: 51.41 kB / 0.7916 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.437e-05/0.006281, allocations: 174.7 kB / 0.7917 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.006293, allocations: 29.69 kB / 0.7918 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.006346, allocations: 135.4 kB / 0.7919 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.006365, allocations: 9.062 kB / 0.7919 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.006413, allocations: 31.34 kB / 0.7919 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.006557, allocations: 492.1 kB / 0.7924 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.006576, allocations: 4.531 kB / 0.7924 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.568e-05/0.006592, allocations: 4 kB / 0.7924 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.028e-05/0.006632, allocations: 20.14 kB / 0.7924 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006635, allocations: 1.375 kB / 0.7924 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.744e-05/0.006722, allocations: 49.62 kB / 0.7925 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.006735, allocations: 4 kB / 0.7925 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.00674, allocations: 0 / 0.7925 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.00675, allocations: 1.484 kB / 0.7925 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/0.006813, allocations: 8 kB / 0.7925 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.006817, allocations: 3.984 kB / 0.7925 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.562e-05/0.006853, allocations: 12.88 kB / 0.7925 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.006859, allocations: 4 kB / 0.7925 GB, free: 7.727 MB / 0.7448 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.998e-05/0.006939, allocations: 154.2 kB / 0.7927 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.006967, allocations: 7.938 kB / 0.7927 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.006999, allocations: 11.98 kB / 0.7927 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.007002, allocations: 0 / 0.7927 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.007004, allocations: 1.344 kB / 0.7927 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.007007, allocations: 4 kB / 0.7927 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.007141, allocations: 109.1 kB / 0.7928 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.007143, allocations: 7.438 kB / 0.7928 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.007182, allocations: 7.984 kB / 0.7928 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.007184, allocations: 0 / 0.7928 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.007192, allocations: 7.938 kB / 0.7928 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.007193, allocations: 0 / 0.7928 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007194, allocations: 0 / 0.7928 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.007322, allocations: 191.9 kB / 0.793 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-06/0.00733, allocations: 3.984 kB / 0.793 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.007341, allocations: 7.875 kB / 0.793 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.007404, allocations: 12.61 kB / 0.793 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.007427, allocations: 0 / 0.793 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.007432, allocations: 4.5 kB / 0.793 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.847e-05/0.00748, allocations: 131.5 kB / 0.7932 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.007481, allocations: 0.5625 kB / 0.7932 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002419/0.007722, allocations: 12.52 kB / 0.7932 GB, free: 7.016 MB / 0.7448 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.857e-05/0.007801, allocations: 92.66 kB / 0.7933 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.032e-05/0.007881, allocations: 19.67 kB / 0.7933 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.007883, allocations: 4 kB / 0.7933 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.664e-05/0.007909, allocations: 16.22 kB / 0.7933 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.008154, allocations: 9.672 kB / 0.7933 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.00858, allocations: 153.9 kB / 0.7934 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.549e-05/0.008615, allocations: 56.27 kB / 0.7935 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.699e-05/0.008642, allocations: 0.5312 kB / 0.7935 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.008697, allocations: 75 kB / 0.7936 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.008698, allocations: 0 / 0.7936 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of Templates: time 0.002337/0.01103, allocations: 0.4977 MB / 0.7941 GB, free: 6.059 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.762111632619053]