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.0018/0.0018, allocations: 79.67 kB / 19.18 MB, free: 2.52 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.00241/0.00241, allocations: 164.4 kB / 22.46 MB, free: 5.379 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.578/1.578, allocations: 177.2 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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 2.917/2.917, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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.495e-06/2.495e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.71e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002053/0.00209, allocations: 0.6942 MB / 0.9821 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003281, allocations: 0.851 MB / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.281e-05/0.003324, allocations: 0 / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.003353, allocations: 7.922 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.196e-05/0.003435, allocations: 11.88 kB / 0.983 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.003602, allocations: 19.92 kB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.003704, allocations: 51.89 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.003806, allocations: 8 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.605e-05/0.003902, allocations: 35.84 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.003973, allocations: 19.97 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.004, allocations: 4 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.004013, allocations: 4 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.778e-05/0.004041, allocations: 15.92 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.004082, allocations: 8 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.004208, allocations: 59.77 kB / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.004211, allocations: 0 / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004211, allocations: 0 / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.004216, allocations: 4 kB / 0.9832 GB, free: 10.14 MB / 0.9356 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.000528/0.004744, allocations: 274.2 kB / 0.9835 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.004785, allocations: 8.031 kB / 0.9835 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.004818, allocations: 0.9375 kB / 0.9835 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.004951, allocations: 121.7 kB / 0.9836 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.004971, allocations: 4.375 kB / 0.9836 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.004986, allocations: 384 / 0.9836 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.005214, allocations: 70.16 kB / 0.9836 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.005226, allocations: 3.938 kB / 0.9837 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.00524, allocations: 8 kB / 0.9837 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.005245, allocations: 0 / 0.9837 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.005461, allocations: 47.95 kB / 0.9837 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.005881, allocations: 228.5 kB / 0.9839 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.006112, allocations: 70.45 kB / 0.984 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.006232, allocations: 32.88 kB / 0.984 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.006251, allocations: 0 / 0.984 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.00628, allocations: 34.56 kB / 0.9841 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.006281, allocations: 4 kB / 0.9841 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004595/0.00674, allocations: 109.6 kB / 0.9842 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.00679, allocations: 55.34 kB / 0.9842 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.00689, allocations: 109.8 kB / 0.9843 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.006908, allocations: 25.7 kB / 0.9843 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.006975, allocations: 84.14 kB / 0.9844 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.006998, allocations: 19.83 kB / 0.9844 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.007044, allocations: 21.72 kB / 0.9845 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.007191, allocations: 322.8 kB / 0.9848 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.007304, allocations: 23.98 kB / 0.9848 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.007406, allocations: 23.97 kB / 0.9848 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.007621, allocations: 52.81 kB / 0.9849 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.007624, allocations: 7.938 kB / 0.9849 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000278/0.007902, allocations: 81.94 kB / 0.985 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.007918, allocations: 4 kB / 0.985 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007922, allocations: 3.938 kB / 0.985 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.00794, allocations: 3.984 kB / 0.985 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.00807, allocations: 16.03 kB / 0.985 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.008076, allocations: 0 / 0.985 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.008148, allocations: 7.984 kB / 0.985 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.008155, allocations: 4 kB / 0.985 GB, free: 8.125 MB / 0.9356 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 9.941e-05/0.008255, allocations: 117.8 kB / 0.9851 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.008282, allocations: 11.89 kB / 0.9851 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.008307, allocations: 8 kB / 0.9851 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.008309, allocations: 0 / 0.9851 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.008316, allocations: 4 kB / 0.9851 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008319, allocations: 0 / 0.9851 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.008483, allocations: 113.3 kB / 0.9852 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.008486, allocations: 3.938 kB / 0.9852 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.008581, allocations: 11.98 kB / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.008582, allocations: 0 / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.008596, allocations: 4 kB / 0.9853 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.008601, allocations: 7.984 kB / 0.9853 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008602, allocations: 0 / 0.9853 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.008929, allocations: 183.4 kB / 0.9854 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.008942, allocations: 7.938 kB / 0.9854 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.008959, allocations: 0 / 0.9854 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.00906, allocations: 4 kB / 0.9854 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.009133, allocations: 16.22 kB / 0.9855 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.009139, allocations: 0 / 0.9855 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.009196, allocations: 87.28 kB / 0.9855 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.009196, allocations: 4 kB / 0.9856 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002237/0.00942, allocations: 8 kB / 0.9856 GB, free: 7.488 MB / 0.9356 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.0001407/0.009561, allocations: 103.8 kB / 0.9857 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.00984, allocations: 59.83 kB / 0.9857 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009842, allocations: 0 / 0.9857 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.009967, allocations: 35.97 kB / 0.9857 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.01031, allocations: 15.17 kB / 0.9858 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.01071, allocations: 124.9 kB / 0.9859 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.241e-05/0.01079, allocations: 67.34 kB / 0.9859 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.097e-05/0.01083, allocations: 4 kB / 0.986 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.01088, allocations: 12.5 kB / 0.986 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.01088, allocations: 4 kB / 0.986 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of Templates: time 0.00397/0.01485, allocations: 0.9653 MB / 0.9869 GB, free: 6.062 MB / 0.9356 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: 8.522902250289917]