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.002342/0.002342, allocations: 81.5 kB / 19.44 MB, free: 344 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.002904/0.002904, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.381/3.381, allocations: 429.5 MB / 0.6729 GB, free: 4.012 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.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 2.244e-06/2.244e-06, allocations: 0.7656 kB / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.481e-05, allocations: 6.891 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002355/0.002389, allocations: 0.6933 MB / 0.8781 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.003734, allocations: 0.8637 MB / 0.879 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.003776, allocations: 1.125 kB / 0.879 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.003809, allocations: 7.922 kB / 0.879 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.438e-05/0.003903, allocations: 5.469 kB / 0.879 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.004059, allocations: 25.64 kB / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.45e-05/0.004153, allocations: 47.84 kB / 0.8791 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.004255, allocations: 13.08 kB / 0.8791 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.608e-05/0.004351, allocations: 27.97 kB / 0.8791 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.004421, allocations: 19.92 kB / 0.8791 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.004446, allocations: 8.781 kB / 0.8791 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.00446, allocations: 7.938 kB / 0.8791 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.004484, allocations: 13.62 kB / 0.8792 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.004514, allocations: 11.94 kB / 0.8792 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.004633, allocations: 47.89 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.004636, allocations: 0 / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.02e-07/0.004636, allocations: 0 / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.004641, allocations: 1.625 kB / 0.8792 GB, free: 4.875 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.0005828/0.005224, allocations: 372.2 kB / 0.8796 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.005267, allocations: 12.03 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.005321, allocations: 8.891 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.005475, allocations: 125.6 kB / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.005492, allocations: 384 / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.005505, allocations: 4.375 kB / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.00569, allocations: 63.14 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.005702, allocations: 3.938 kB / 0.8798 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.005718, allocations: 4.547 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.005723, allocations: 1.594 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.005887, allocations: 39.98 kB / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.00638, allocations: 287.7 kB / 0.8801 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.00658, allocations: 73.98 kB / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.006686, allocations: 35.73 kB / 0.8802 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.00671, allocations: 4 kB / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.006749, allocations: 33.39 kB / 0.8802 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.00675, allocations: 0 / 0.8802 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0003682/0.007119, allocations: 97.55 kB / 0.8803 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.007168, allocations: 55.41 kB / 0.8804 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.00731, allocations: 171.4 kB / 0.8805 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.007331, allocations: 25.7 kB / 0.8806 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.007418, allocations: 130.9 kB / 0.8807 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.007442, allocations: 15.84 kB / 0.8807 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.007496, allocations: 27.95 kB / 0.8807 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000273/0.007769, allocations: 0.4923 MB / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-05/0.007849, allocations: 19.98 kB / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.007913, allocations: 15.98 kB / 0.8813 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.008055, allocations: 43.67 kB / 0.8813 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.008059, allocations: 3.938 kB / 0.8813 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002041/0.008263, allocations: 81.59 kB / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.008277, allocations: 8 kB / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.008281, allocations: 0 / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.008295, allocations: 0 / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.008404, allocations: 12 kB / 0.8814 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.008408, allocations: 0 / 0.8814 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.341e-05/0.008462, allocations: 7.984 kB / 0.8814 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.008469, allocations: 0 / 0.8814 GB, free: 2.438 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 0.0001426/0.008612, allocations: 164.5 kB / 0.8816 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.008641, allocations: 3.953 kB / 0.8816 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.008673, allocations: 12 kB / 0.8816 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.008675, allocations: 0 / 0.8816 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.00868, allocations: 0 / 0.8816 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.008682, allocations: 0 / 0.8816 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.008865, allocations: 136.6 kB / 0.8817 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.008869, allocations: 8.125 kB / 0.8817 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.537e-05/0.008944, allocations: 8 kB / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.00895, allocations: 4 kB / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.008961, allocations: 3.984 kB / 0.8817 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.008962, allocations: 0 / 0.8817 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.008966, allocations: 3.938 kB / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.009269, allocations: 219.9 kB / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.009284, allocations: 8.266 kB / 0.8819 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.009298, allocations: 4 kB / 0.882 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.009375, allocations: 7.984 kB / 0.882 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.009446, allocations: 11.98 kB / 0.882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.009451, allocations: 0 / 0.882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.393e-05/0.009535, allocations: 131.2 kB / 0.8821 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.009535, allocations: 0 / 0.8821 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00021/0.009745, allocations: 8 kB / 0.8821 GB, free: 1.652 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 0.0001317/0.009877, allocations: 103.2 kB / 0.8822 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.0101, allocations: 55.59 kB / 0.8823 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01011, allocations: 4 kB / 0.8823 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.01021, allocations: 35.67 kB / 0.8823 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.01048, allocations: 15.88 kB / 0.8823 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.01087, allocations: 137.5 kB / 0.8824 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.979e-05/0.01095, allocations: 67.2 kB / 0.8825 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.478e-05/0.01099, allocations: 8 kB / 0.8825 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.01105, allocations: 20.48 kB / 0.8825 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/0.01105, allocations: 0 / 0.8825 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of Templates: time 0.004047/0.0151, allocations: 0.9725 MB / 0.8835 GB, free: 196 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.504176193964668]