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.001082/0.001082, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009649/0.0009649, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.466/2.466, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.924e-06/1.924e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.725e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002995/0.003022, allocations: 1.632 MB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009082/0.003931, allocations: 494.6 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.647e-05/0.003997, allocations: 0 / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.004032, allocations: 7.922 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.203e-05/0.004094, allocations: 11.86 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.004353, allocations: 31.84 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.004465, allocations: 43.86 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.004569, allocations: 19.97 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.004756, allocations: 35.91 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.041e-05/0.004796, allocations: 23.91 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.004814, allocations: 4 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.329e-05/0.004877, allocations: 11.94 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.004894, allocations: 7.984 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.004918, allocations: 11.94 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.005034, allocations: 35.89 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.005037, allocations: 3.938 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005038, allocations: 0 / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.005043, allocations: 0 / 0.8409 GB, free: 11.82 MB / 0.8073 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.0003807/0.005424, allocations: 264.7 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.005461, allocations: 16.03 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.005601, allocations: 16.92 kB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.005761, allocations: 121.7 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.005778, allocations: 384 / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.005788, allocations: 4.375 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.005924, allocations: 66.88 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.005933, allocations: 192 / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.005941, allocations: 384 / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.005948, allocations: 3.938 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.06e-05/0.005979, allocations: 15.97 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.006268, allocations: 180.2 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.006411, allocations: 42.5 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/0.006432, allocations: 8.859 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.006445, allocations: 0 / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.006471, allocations: 38.5 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 4.338e-06/0.006475, allocations: 3.984 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001414/0.006617, allocations: 41.62 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.006654, allocations: 55.41 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.006731, allocations: 118.8 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.006743, allocations: 29.7 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.006787, allocations: 92.06 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.006808, allocations: 7.953 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.006846, allocations: 13.72 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.006961, allocations: 322.8 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.00698, allocations: 4 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.259e-05/0.006993, allocations: 0 / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.007034, allocations: 16.84 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.007036, allocations: 0 / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.146e-05/0.007117, allocations: 49.56 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.007135, allocations: 15.94 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.00714, allocations: 0 / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.007155, allocations: 0 / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.007213, allocations: 7.984 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.227e-06/0.007216, allocations: 0 / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.85e-05/0.007245, allocations: 4 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.007252, allocations: 0 / 0.8424 GB, free: 10.14 MB / 0.8073 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.289e-05/0.007325, allocations: 109.8 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.007348, allocations: 3.938 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.00738, allocations: 15.98 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.007382, allocations: 4 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.007383, allocations: 0 / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007386, allocations: 0 / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.007521, allocations: 77.81 kB / 0.8426 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007523, allocations: 0 / 0.8426 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.007565, allocations: 8 kB / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.007567, allocations: 0 / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.007574, allocations: 3.984 kB / 0.8426 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.007576, allocations: 3.938 kB / 0.8426 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.007581, allocations: 3.938 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.007712, allocations: 135.5 kB / 0.8427 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.007723, allocations: 11.95 kB / 0.8427 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.007737, allocations: 0 / 0.8427 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.935e-05/0.007797, allocations: 3.938 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.007838, allocations: 7.984 kB / 0.8428 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.007842, allocations: 0 / 0.8428 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.801e-05/0.00787, allocations: 17.22 kB / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.00787, allocations: 0 / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002024/0.008073, allocations: 11.98 kB / 0.8428 GB, free: 9.684 MB / 0.8073 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 0.0001018/0.008175, allocations: 76.42 kB / 0.8429 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.167e-05/0.008246, allocations: 21.17 kB / 0.8429 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.00825, allocations: 0 / 0.8429 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.008274, allocations: 16.92 kB / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.008468, allocations: 8 kB / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.008935, allocations: 148.3 kB / 0.843 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.42e-05/0.008979, allocations: 71.5 kB / 0.8431 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.618e-05/0.009005, allocations: 0 / 0.8431 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.009061, allocations: 55.38 kB / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.009061, allocations: 0 / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of Templates: time 0.00256/0.01162, allocations: 479.2 kB / 0.8436 GB, free: 8.773 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.21493846969679]