Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.001076/0.001076, allocations: 92.22 kB / 19.65 MB, free: 276 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.001079/0.001079, allocations: 169 kB / 23.02 MB, free: 1.551 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.032/1.032, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.104/2.104, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.687e-06/3.687e-06, allocations: 4 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.952e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001826/0.001855, allocations: 0.7284 MB / 0.8789 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.002887, allocations: 0.8714 MB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.002935, allocations: 4.938 kB / 0.8797 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.795e-05/0.002973, allocations: 4.703 kB / 0.8797 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.00306, allocations: 12.91 kB / 0.8798 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.003236, allocations: 27.89 kB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.168e-05/0.003328, allocations: 39.92 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.003474, allocations: 13.11 kB / 0.8798 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.003577, allocations: 31.91 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.259e-05/0.00365, allocations: 19.97 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.003673, allocations: 5.125 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.003686, allocations: 4 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.003707, allocations: 4 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.003737, allocations: 20.81 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.003844, allocations: 35.84 kB / 0.88 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.003848, allocations: 8.453 kB / 0.88 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.52e-07/0.003849, allocations: 0 / 0.88 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.003853, allocations: 1.188 kB / 0.88 GB, free: 4.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004354/0.004288, allocations: 372.5 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.004334, allocations: 9.094 kB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.004384, allocations: 8.922 kB / 0.8803 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.004504, allocations: 116.6 kB / 0.8804 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.004527, allocations: 5.438 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.004544, allocations: 4.375 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.004722, allocations: 68.28 kB / 0.8805 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.004736, allocations: 7.922 kB / 0.8805 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.004749, allocations: 0 / 0.8805 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.004757, allocations: 0 / 0.8805 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.156e-05/0.004819, allocations: 21.02 kB / 0.8805 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.005201, allocations: 267.8 kB / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.005336, allocations: 56.11 kB / 0.8809 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.005376, allocations: 19.66 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.005395, allocations: 0.5938 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.005422, allocations: 37.39 kB / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.005423, allocations: 0.8125 kB / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000209/0.005632, allocations: 65.11 kB / 0.881 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.005664, allocations: 51.41 kB / 0.881 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.457e-05/0.005759, allocations: 165.9 kB / 0.8812 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.005775, allocations: 29.7 kB / 0.8812 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.005833, allocations: 134.8 kB / 0.8813 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.005854, allocations: 11.91 kB / 0.8813 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.005894, allocations: 23.36 kB / 0.8814 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.006034, allocations: 0.4884 MB / 0.8818 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-05/0.006065, allocations: 11.92 kB / 0.8819 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/0.006087, allocations: 4.594 kB / 0.8819 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.105e-05/0.006149, allocations: 29.73 kB / 0.8819 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.006152, allocations: 3.938 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001132/0.006266, allocations: 57.67 kB / 0.882 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.006279, allocations: 7.938 kB / 0.882 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.006283, allocations: 8 kB / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.0063, allocations: 0 / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.006403, allocations: 11.98 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.006409, allocations: 3.938 kB / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.504e-05/0.006444, allocations: 4 kB / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.006452, allocations: 4 kB / 0.882 GB, free: 2.227 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: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.805e-05/0.00653, allocations: 156.5 kB / 0.8821 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.006559, allocations: 7.953 kB / 0.8821 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.006588, allocations: 11.98 kB / 0.8822 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.00659, allocations: 4 kB / 0.8822 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.006593, allocations: 0 / 0.8822 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.006597, allocations: 4 kB / 0.8822 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.006731, allocations: 120.7 kB / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.006735, allocations: 7.938 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.97e-05/0.006785, allocations: 7.984 kB / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.006787, allocations: 4 kB / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.006797, allocations: 4 kB / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006798, allocations: 0 / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006799, allocations: 0 / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.006949, allocations: 199.9 kB / 0.8825 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.006961, allocations: 15.88 kB / 0.8825 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.006973, allocations: 0 / 0.8825 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.092e-05/0.007034, allocations: 4 kB / 0.8825 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.007088, allocations: 11.98 kB / 0.8825 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.007093, allocations: 0 / 0.8825 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.238e-05/0.007145, allocations: 131.2 kB / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.007145, allocations: 0 / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002525/0.007398, allocations: 8 kB / 0.8827 GB, free: 1.477 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.936e-05/0.007477, allocations: 91.25 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.007593, allocations: 35.67 kB / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.007594, allocations: 0 / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.734e-05/0.007641, allocations: 31.61 kB / 0.8828 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.007913, allocations: 15.88 kB / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.008226, allocations: 126.3 kB / 0.8829 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.071e-05/0.008267, allocations: 59.34 kB / 0.883 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.545e-05/0.008302, allocations: 11.94 kB / 0.883 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.008347, allocations: 12.5 kB / 0.883 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of SimCode: time 4.6e-07/0.008347, allocations: 0 / 0.883 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of Templates: time 0.003043/0.01139, allocations: 0.9842 MB / 0.884 GB, free: 64 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_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.560679364949465]