Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.0009307/0.0009307, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00105/0.00105, allocations: 177 kB / 23.36 MB, free: 1.129 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.496 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.558/2.558, allocations: 438.8 MB / 0.6827 GB, free: 13.6 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.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.217e-05, allocations: 8.562 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001881/0.001903, allocations: 0.7264 MB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.003036, allocations: 0.882 MB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.003072, allocations: 0 / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.972e-05/0.003102, allocations: 3.938 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.683e-05/0.003178, allocations: 7.922 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.003334, allocations: 11.98 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.457e-05/0.003408, allocations: 23.92 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.691e-05/0.003485, allocations: 12 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.45e-05/0.00357, allocations: 11.98 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.569e-05/0.003605, allocations: 3.984 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.003622, allocations: 7.938 kB / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.254e-06/0.003629, allocations: 0 / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.003649, allocations: 11.94 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.003664, allocations: 0 / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.602e-05/0.00374, allocations: 19.91 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003742, allocations: 0 / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003743, allocations: 0 / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.003746, allocations: 0 / 0.8404 GB, free: 12.38 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002898/0.004036, allocations: 237 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.004073, allocations: 12.62 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.004102, allocations: 0.9375 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.858e-05/0.004191, allocations: 109.8 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.0042, allocations: 384 / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-06/0.004206, allocations: 384 / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.004319, allocations: 58.94 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.004327, allocations: 4.188 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.004334, allocations: 384 / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.004341, allocations: 4.359 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.765e-05/0.004369, allocations: 19.86 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.004584, allocations: 140.4 kB / 0.8409 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.524e-05/0.004629, allocations: 18.58 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.004646, allocations: 16.86 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.004658, allocations: 0 / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.004683, allocations: 34.5 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.004684, allocations: 4 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.000116/0.0048, allocations: 33.69 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.004834, allocations: 59.34 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.016e-05/0.004894, allocations: 102.8 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.004906, allocations: 29.7 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.004937, allocations: 80.14 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.004958, allocations: 15.88 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.004988, allocations: 13.72 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.005086, allocations: 318.8 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.005096, allocations: 0 / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-06/0.005104, allocations: 0 / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.005136, allocations: 20.78 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.005137, allocations: 0 / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.26e-05/0.00519, allocations: 33.77 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.005203, allocations: 8 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.005207, allocations: 0 / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.00522, allocations: 0 / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.005287, allocations: 11.92 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.00529, allocations: 0 / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.361e-05/0.005313, allocations: 8 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.005318, allocations: 0 / 0.8417 GB, free: 10.85 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 (2): * Single equations (assignments): 2 * 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.848e-05/0.005377, allocations: 105.8 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.005401, allocations: 7.938 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.005431, allocations: 15.33 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.005432, allocations: 0 / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.005435, allocations: 3.938 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.005437, allocations: 0 / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.00555, allocations: 61.91 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.005551, allocations: 4 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.005581, allocations: 7.984 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.005582, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-06/0.005587, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.005588, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.005589, allocations: 3.938 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.915e-05/0.005678, allocations: 135.5 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.005685, allocations: 4 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-06/0.005694, allocations: 0 / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.676e-05/0.005751, allocations: 8 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.00578, allocations: 7.984 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.005783, allocations: 3.938 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.561e-05/0.005798, allocations: 16.78 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.005799, allocations: 0 / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002162/0.006015, allocations: 4 kB / 0.8421 GB, free: 10.42 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 (2): * Single equations (assignments): 2 * 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.609e-05/0.006091, allocations: 76.45 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.04e-05/0.006151, allocations: 16.84 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.006153, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.006169, allocations: 8.859 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.006346, allocations: 0 / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.006566, allocations: 112.6 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.758e-05/0.006603, allocations: 55.48 kB / 0.8423 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.745e-05/0.006621, allocations: 4 kB / 0.8423 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.006668, allocations: 55.36 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of SimCode: time 4.01e-07/0.006668, allocations: 0 / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.00221/0.008878, allocations: 451.9 kB / 0.8428 GB, free: 9.605 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.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.324276455678046]