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.001892/0.001892, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.002393/0.002393, allocations: 156.2 kB / 23.01 MB, free: 4.602 MB / 14.72 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.459/1.459, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 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.011/3.011, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 71.88 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9132/0.9154, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001986/0.9174, allocations: 0.692 MB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.9184, allocations: 0.859 MB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.9184, allocations: 1.375 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.9184, allocations: 4.75 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.9185, allocations: 5.828 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.9187, allocations: 23.3 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.526e-05/0.9188, allocations: 48.55 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.9189, allocations: 18.52 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.521e-05/0.9189, allocations: 13.81 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.624e-05/0.919, allocations: 26.25 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.919, allocations: 7.969 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.9191, allocations: 5.125 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.9191, allocations: 11.22 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.9191, allocations: 21.02 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.9192, allocations: 39.67 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.9192, allocations: 4.75 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9192, allocations: 1.312 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.9192, allocations: 3.938 kB / 1.188 GB, free: 14.99 MB / 1.076 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.0004322/0.9197, allocations: 270.2 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.9197, allocations: 9.344 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.9197, allocations: 7.969 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.22e-05/0.9198, allocations: 119 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.9198, allocations: 10.38 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.9198, allocations: 2.562 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.92, allocations: 73.28 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.9201, allocations: 0 / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.9201, allocations: 1.344 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.9201, allocations: 1.344 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.9203, allocations: 52.25 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.9206, allocations: 229.3 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.9208, allocations: 70.16 kB / 1.189 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.9209, allocations: 32.11 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.9209, allocations: 0.6094 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.921, allocations: 32.77 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.921, allocations: 2 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0004173/0.9214, allocations: 109.5 kB / 1.189 GB, free: 14.15 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.9214, allocations: 56.62 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.693e-05/0.9215, allocations: 106 kB / 1.189 GB, free: 13.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.884e-06/0.9215, allocations: 25.7 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.9215, allocations: 87.83 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.9215, allocations: 13.64 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.9216, allocations: 19.92 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.9216, allocations: 317.5 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.9217, allocations: 26.98 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.636e-05/0.9218, allocations: 23.7 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.922, allocations: 54.88 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.922, allocations: 1.219 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002374/0.9222, allocations: 87.67 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.9223, allocations: 5.781 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9223, allocations: 0.5625 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.9223, allocations: 5.312 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.9224, allocations: 12.8 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.9224, allocations: 8.594 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.959e-05/0.9225, allocations: 10.47 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.9225, allocations: 5.25 kB / 1.19 GB, free: 13.42 MB / 1.076 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 4.961e-05/0.9225, allocations: 113.2 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.9226, allocations: 3.266 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.039e-05/0.9226, allocations: 8.703 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.9226, allocations: 1.281 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.9226, allocations: 0 / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.9226, allocations: 2.031 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.9227, allocations: 123.2 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9227, allocations: 4 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.9228, allocations: 21 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.9228, allocations: 1.375 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.9228, allocations: 0.75 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9228, allocations: 0 / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9228, allocations: 1.859 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.9231, allocations: 189.4 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.9231, allocations: 2 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.9231, allocations: 5.891 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.9232, allocations: 5.797 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.9233, allocations: 11.88 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.9233, allocations: 1.406 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.147e-05/0.9233, allocations: 87.45 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9233, allocations: 0 / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002269/0.9235, allocations: 6.188 kB / 1.191 GB, free: 12.9 MB / 1.076 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.714e-05/0.9236, allocations: 103 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.9239, allocations: 56.17 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9239, allocations: 0 / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.924, allocations: 33.73 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.9243, allocations: 9.469 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/0.9247, allocations: 130.1 kB / 1.191 GB, free: 12.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.507e-05/0.9247, allocations: 67.81 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.371e-05/0.9248, allocations: 13.72 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.9248, allocations: 12.61 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.9248, allocations: 0 / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of Templates: time 0.004052/0.9289, allocations: 0.9475 MB / 1.192 GB, free: 12.47 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 9.063208341016434]