Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008213/0.0008213, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008123/0.0008123, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.8957/0.8957, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.781/1.781, allocations: 377.9 MB / 0.6229 GB, free: 8.625 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.924e-05, allocations: 5.656 kB / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001293/0.001322, allocations: 0.694 MB / 0.9829 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007454/0.002068, allocations: 0.8548 MB / 0.9837 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.002106, allocations: 0 / 0.9837 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.002134, allocations: 7.922 kB / 0.9837 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.598e-05/0.0022, allocations: 3.938 kB / 0.9837 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.002341, allocations: 27.92 kB / 0.9838 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.291e-05/0.002414, allocations: 47.89 kB / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.002518, allocations: 11.94 kB / 0.9838 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.305e-05/0.002591, allocations: 31.91 kB / 0.9838 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.002647, allocations: 19.97 kB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.002669, allocations: 4 kB / 0.9839 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.002678, allocations: 4 kB / 0.9839 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.002698, allocations: 15.92 kB / 0.9839 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.002718, allocations: 8 kB / 0.9839 GB, free: 324 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.895e-05/0.002817, allocations: 55.83 kB / 0.984 GB, free: 268 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002819, allocations: 4 kB / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.482e-06/0.002821, allocations: 0 / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.002825, allocations: 0 / 0.984 GB, free: 264 kB / 0.9323 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.0003808/0.003205, allocations: 274.2 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.003239, allocations: 8.031 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.003267, allocations: 0.9375 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.239e-05/0.003359, allocations: 129.6 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.003374, allocations: 4.375 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.003383, allocations: 384 / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.003521, allocations: 74.2 kB / 0.9844 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.003528, allocations: 3.938 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.003539, allocations: 4 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.003543, allocations: 0 / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.003655, allocations: 47.95 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.003953, allocations: 224.5 kB / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.004084, allocations: 66.52 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.921e-05/0.004143, allocations: 40.88 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.004156, allocations: 0 / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.004175, allocations: 30.56 kB / 0.9848 GB, free: 15.26 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.004176, allocations: 4 kB / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002501/0.004426, allocations: 121.6 kB / 0.9849 GB, free: 15.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.004453, allocations: 51.41 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.67e-05/0.00451, allocations: 105.8 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.004521, allocations: 25.7 kB / 0.9851 GB, free: 14.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.004559, allocations: 92.12 kB / 0.9852 GB, free: 14.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.004575, allocations: 11.91 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.004604, allocations: 17.72 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.225e-05/0.004676, allocations: 314.8 kB / 0.9855 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.408e-05/0.00473, allocations: 27.98 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.916e-05/0.00478, allocations: 23.97 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.00488, allocations: 56.75 kB / 0.9856 GB, free: 14.37 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.004883, allocations: 11.94 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001373/0.00502, allocations: 81.59 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.00503, allocations: 4 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.005034, allocations: 0 / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.005045, allocations: 3.984 kB / 0.9857 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.005119, allocations: 11.98 kB / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.005123, allocations: 0 / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.005154, allocations: 11.94 kB / 0.9858 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.005159, allocations: 8 kB / 0.9858 GB, free: 14.23 MB / 0.948 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 5.408e-05/0.005213, allocations: 113.8 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.005227, allocations: 7.953 kB / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.716e-05/0.005244, allocations: 8 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.005246, allocations: 0 / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.00525, allocations: 4 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.005252, allocations: 0 / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.468e-05/0.005347, allocations: 117.4 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.005348, allocations: 3.938 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.005385, allocations: 16.17 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005386, allocations: 4 kB / 0.986 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.005396, allocations: 11.98 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.005396, allocations: 0 / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005397, allocations: 0 / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.00556, allocations: 175.5 kB / 0.9862 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.00557, allocations: 11.89 kB / 0.9862 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.005581, allocations: 0 / 0.9862 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.23e-05/0.005623, allocations: 4 kB / 0.9862 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.005672, allocations: 15.97 kB / 0.9862 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.005675, allocations: 4 kB / 0.9862 GB, free: 13.69 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.672e-05/0.005701, allocations: 83.28 kB / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005702, allocations: 0 / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001451/0.005847, allocations: 8 kB / 0.9863 GB, free: 13.6 MB / 0.948 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 8.009e-05/0.005927, allocations: 103.7 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.006071, allocations: 55.89 kB / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006073, allocations: 0 / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.561e-05/0.006128, allocations: 36.25 kB / 0.9865 GB, free: 13.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.006317, allocations: 14.22 kB / 0.9865 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.006584, allocations: 154.6 kB / 0.9867 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.285e-05/0.006627, allocations: 67.28 kB / 0.9867 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.006664, allocations: 16.48 kB / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/0.006664, allocations: 0 / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of Templates: time 0.001601/0.008265, allocations: 0.8302 MB / 0.9876 GB, free: 12.27 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.651514763943851]