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.0009556/0.0009556, 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.0009339/0.0009339, allocations: 173 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.9139/0.9139, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.742/1.742, allocations: 359 MB / 0.6055 GB, free: 11 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 2.675e-06/2.675e-06, allocations: 0 / 0.787 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.414e-05, allocations: 10.19 kB / 0.787 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003523/0.003557, allocations: 1.582 MB / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009813/0.004538, allocations: 496.9 kB / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.191e-05/0.00462, allocations: 3.938 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.879e-05/0.004659, allocations: 5 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.733e-05/0.004726, allocations: 11.92 kB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.005062, allocations: 37.39 kB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.005209, allocations: 47.8 kB / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.005334, allocations: 15.97 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.005545, allocations: 33.2 kB / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.992e-05/0.005595, allocations: 15.97 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.005615, allocations: 4 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.095e-05/0.005666, allocations: 14.05 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.005683, allocations: 7.938 kB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.005715, allocations: 11.98 kB / 0.7893 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.005867, allocations: 39.83 kB / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.005872, allocations: 0 / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.532e-06/0.005873, allocations: 0 / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.005879, allocations: 2.156 kB / 0.7893 GB, free: 10.56 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.0004162/0.006296, allocations: 388.4 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.006335, allocations: 8.031 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.006461, allocations: 28.81 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.00662, allocations: 118.2 kB / 0.7898 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.006643, allocations: 4.375 kB / 0.7898 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.006653, allocations: 4.375 kB / 0.7898 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.006797, allocations: 62.94 kB / 0.7899 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.006805, allocations: 1.938 kB / 0.7899 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.006816, allocations: 384 / 0.7899 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-06/0.006825, allocations: 3.938 kB / 0.7899 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.095e-05/0.006866, allocations: 23.92 kB / 0.7899 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.007202, allocations: 284.5 kB / 0.7902 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.007357, allocations: 55.56 kB / 0.7902 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.007384, allocations: 11.75 kB / 0.7903 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.007398, allocations: 6.406 kB / 0.7903 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.007421, allocations: 41.39 kB / 0.7903 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.007422, allocations: 0 / 0.7903 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001587/0.007581, allocations: 45.64 kB / 0.7903 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.007611, allocations: 55.41 kB / 0.7904 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.007691, allocations: 177.8 kB / 0.7906 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.007701, allocations: 26.42 kB / 0.7906 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.007749, allocations: 134.9 kB / 0.7907 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.007776, allocations: 8.438 kB / 0.7907 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.007811, allocations: 27.36 kB / 0.7908 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.007938, allocations: 497.8 kB / 0.7912 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.00796, allocations: 7.938 kB / 0.7912 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.595e-05/0.007976, allocations: 7.984 kB / 0.7912 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.906e-05/0.008015, allocations: 11.69 kB / 0.7913 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.008017, allocations: 0.6562 kB / 0.7913 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.733e-05/0.008094, allocations: 49.62 kB / 0.7913 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.008111, allocations: 9.156 kB / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.008118, allocations: 0 / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.008135, allocations: 0 / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.812e-05/0.008193, allocations: 9.141 kB / 0.7913 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.008199, allocations: 3.938 kB / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.008222, allocations: 7.953 kB / 0.7913 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.008229, allocations: 1.375 kB / 0.7913 GB, free: 8.285 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.791e-05/0.008307, allocations: 160.6 kB / 0.7915 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.008324, allocations: 3.938 kB / 0.7915 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.008366, allocations: 12.84 kB / 0.7915 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.00837, allocations: 3.984 kB / 0.7915 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.008374, allocations: 0.8438 kB / 0.7915 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008378, allocations: 0 / 0.7915 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.008492, allocations: 125.8 kB / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.008493, allocations: 0 / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/0.008526, allocations: 15.88 kB / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.008528, allocations: 0.8438 kB / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.008536, allocations: 3.984 kB / 0.7916 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.00854, allocations: 7.984 kB / 0.7917 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008541, allocations: 0.875 kB / 0.7917 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.008661, allocations: 199.8 kB / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.008674, allocations: 9.875 kB / 0.7919 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.008686, allocations: 4 kB / 0.7919 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-05/0.008721, allocations: 0 / 0.7919 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.008752, allocations: 3.984 kB / 0.7919 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.008757, allocations: 5.188 kB / 0.7919 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.008802, allocations: 131.2 kB / 0.792 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008802, allocations: 0 / 0.792 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001478/0.00895, allocations: 15.11 kB / 0.792 GB, free: 7.539 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 8.948e-05/0.00904, allocations: 99.23 kB / 0.7921 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.759e-05/0.009137, allocations: 19.67 kB / 0.7921 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.009139, allocations: 0 / 0.7921 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.486e-05/0.009163, allocations: 19.62 kB / 0.7921 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.009361, allocations: 6.062 kB / 0.7921 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.009845, allocations: 156.4 kB / 0.7923 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.649e-05/0.009882, allocations: 59.34 kB / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.227e-05/0.009904, allocations: 0 / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.009936, allocations: 12.5 kB / 0.7924 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.009937, allocations: 0.9375 kB / 0.7924 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of Templates: time 0.002143/0.01208, allocations: 468.6 kB / 0.7928 GB, free: 6.676 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.863066780148074]