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.001852/0.001852, allocations: 85.48 kB / 19.44 MB, free: 340 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.002059/0.002059, allocations: 177.2 kB / 22.76 MB, free: 1.656 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.674/1.674, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.483/3.483, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] 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.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 2.885e-06/2.885e-06, allocations: 0 / 0.8775 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.824e-05/4.113e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.00211/0.002151, allocations: 0.6712 MB / 0.8782 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.003452, allocations: 0.8721 MB / 0.879 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.003486, allocations: 1.031 kB / 0.879 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.003511, allocations: 3.938 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.976e-05/0.003581, allocations: 5.859 kB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.003738, allocations: 8.953 kB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.082e-05/0.003819, allocations: 29.02 kB / 0.8791 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.003903, allocations: 2.469 kB / 0.8791 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.79e-05/0.003991, allocations: 15.97 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.227e-05/0.004034, allocations: 11.94 kB / 0.8791 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.004056, allocations: 7.938 kB / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-06/0.004064, allocations: 0 / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.004084, allocations: 3.984 kB / 0.8791 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.004111, allocations: 8 kB / 0.8791 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.696e-05/0.004208, allocations: 21.97 kB / 0.8791 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.00421, allocations: 3.938 kB / 0.8791 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00421, allocations: 0 / 0.8791 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.004214, allocations: 0 / 0.8791 GB, free: 4.938 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005085/0.004722, allocations: 360.3 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.004762, allocations: 8.75 kB / 0.8795 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.004808, allocations: 12.92 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.004936, allocations: 114.2 kB / 0.8796 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.004949, allocations: 384 / 0.8796 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.00496, allocations: 384 / 0.8796 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.005109, allocations: 42.25 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.005124, allocations: 0.6875 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.005133, allocations: 384 / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.005138, allocations: 5.5 kB / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.005253, allocations: 31.84 kB / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.005629, allocations: 249.4 kB / 0.8799 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.005741, allocations: 39.06 kB / 0.88 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.159e-05/0.005803, allocations: 19.73 kB / 0.88 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.005823, allocations: 4 kB / 0.88 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.005862, allocations: 37.33 kB / 0.88 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.005863, allocations: 0 / 0.88 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002906/0.006154, allocations: 69.61 kB / 0.8801 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.006199, allocations: 51.41 kB / 0.8801 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.006333, allocations: 165.9 kB / 0.8803 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.006351, allocations: 25.7 kB / 0.8803 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.774e-05/0.006439, allocations: 134.9 kB / 0.8804 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.00646, allocations: 12.08 kB / 0.8805 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.006497, allocations: 19.38 kB / 0.8805 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002641/0.006761, allocations: 0.4884 MB / 0.881 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.016e-05/0.006811, allocations: 7.984 kB / 0.881 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-05/0.006855, allocations: 11.98 kB / 0.881 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.006958, allocations: 35.61 kB / 0.881 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.00696, allocations: 4 kB / 0.881 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001481/0.007108, allocations: 49.69 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.007122, allocations: 8.094 kB / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.007128, allocations: 3.938 kB / 0.8811 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.007142, allocations: 4 kB / 0.8811 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.007214, allocations: 7.938 kB / 0.8811 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.007223, allocations: 3.984 kB / 0.8811 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.007251, allocations: 0 / 0.8811 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.007256, allocations: 4 kB / 0.8811 GB, free: 2.734 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: 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 0.0001143/0.007371, allocations: 156.5 kB / 0.8812 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.007401, allocations: 11.89 kB / 0.8813 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.007433, allocations: 15.25 kB / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.007435, allocations: 0 / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.007438, allocations: 0 / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.00744, allocations: 0 / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.007598, allocations: 116.6 kB / 0.8814 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.007601, allocations: 4 kB / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.007645, allocations: 7.984 kB / 0.8814 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.007646, allocations: 0 / 0.8814 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.007653, allocations: 0 / 0.8814 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.007657, allocations: 3.938 kB / 0.8814 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007657, allocations: 0 / 0.8814 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.007894, allocations: 203.9 kB / 0.8816 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.00791, allocations: 4 kB / 0.8816 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.007924, allocations: 3.984 kB / 0.8816 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.822e-05/0.007983, allocations: 3.938 kB / 0.8816 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.008024, allocations: 8 kB / 0.8816 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.008027, allocations: 3.938 kB / 0.8816 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003419/0.008368, allocations: 127.2 kB / 0.8817 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.008369, allocations: 0 / 0.8817 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001952/0.008564, allocations: 4 kB / 0.8817 GB, free: 2.008 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: 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 0.0001199/0.008684, allocations: 95.28 kB / 0.8818 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.008848, allocations: 35.67 kB / 0.8819 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00885, allocations: 0 / 0.8819 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.008927, allocations: 19.67 kB / 0.8819 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.009164, allocations: 6.344 kB / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.009475, allocations: 118.4 kB / 0.882 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.719e-05/0.009553, allocations: 67.33 kB / 0.8821 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.079e-05/0.009573, allocations: 4 kB / 0.8821 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.009601, allocations: 12.44 kB / 0.8821 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.009602, allocations: 0 / 0.8821 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of Templates: time 0.003037/0.01264, allocations: 476.5 kB / 0.8825 GB, free: 1.141 MB / 0.8386 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.643614634987898]