Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 115.5 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 193.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.794/2.794, allocations: 437.1 MB / 0.7177 GB, free: 4.562 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 67.88 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3056, allocations: 151.6 MB / 1.176 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002184/0.3078, allocations: 0.6962 MB / 1.177 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3091, allocations: 0.8471 MB / 1.177 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.3091, allocations: 4 kB / 1.177 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.3092, allocations: 0 / 1.177 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.3093, allocations: 3.938 kB / 1.177 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.3094, allocations: 31.83 kB / 1.177 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.567e-05/0.3095, allocations: 47.91 kB / 1.177 GB, free: 4.219 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3096, allocations: 12 kB / 1.177 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.098e-05/0.3097, allocations: 19.92 kB / 1.177 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.335e-05/0.3098, allocations: 31.89 kB / 1.177 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.3098, allocations: 4 kB / 1.178 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.3099, allocations: 4 kB / 1.178 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.3099, allocations: 7.938 kB / 1.178 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.3099, allocations: 19.92 kB / 1.178 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.3101, allocations: 51.78 kB / 1.178 GB, free: 4.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3101, allocations: 0 / 1.178 GB, free: 4.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.168e-06/0.3101, allocations: 0 / 1.178 GB, free: 4.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3101, allocations: 7.938 kB / 1.178 GB, free: 4.062 MB / 0.92 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.0005764/0.3107, allocations: 355.3 kB / 1.178 GB, free: 3.668 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3107, allocations: 8.031 kB / 1.178 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.3108, allocations: 8.938 kB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.311, allocations: 168.3 kB / 1.178 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.311, allocations: 4.375 kB / 1.178 GB, free: 3.445 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.311, allocations: 8.375 kB / 1.178 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.3113, allocations: 69.59 kB / 1.178 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3113, allocations: 0 / 1.178 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3113, allocations: 0 / 1.178 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3113, allocations: 0 / 1.178 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.3115, allocations: 55.94 kB / 1.178 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.312, allocations: 296.7 kB / 1.179 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.3122, allocations: 66.53 kB / 1.179 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.3124, allocations: 28.92 kB / 1.179 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3124, allocations: 0 / 1.179 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.3124, allocations: 34.56 kB / 1.179 GB, free: 2.82 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3124, allocations: 4 kB / 1.179 GB, free: 2.816 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004562/0.3129, allocations: 113.6 kB / 1.179 GB, free: 2.699 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.3129, allocations: 55.41 kB / 1.179 GB, free: 2.633 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.276e-05/0.313, allocations: 105.8 kB / 1.179 GB, free: 2.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3131, allocations: 29.7 kB / 1.179 GB, free: 2.484 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.3131, allocations: 84.14 kB / 1.179 GB, free: 2.398 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.3132, allocations: 7.906 kB / 1.179 GB, free: 2.391 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.3132, allocations: 25.7 kB / 1.179 GB, free: 2.359 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3134, allocations: 318.8 kB / 1.179 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3135, allocations: 19.98 kB / 1.179 GB, free: 2.02 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.3136, allocations: 28 kB / 1.179 GB, free: 1.992 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.3138, allocations: 56.81 kB / 1.179 GB, free: 1.934 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3138, allocations: 4 kB / 1.179 GB, free: 1.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002572/0.3141, allocations: 93.52 kB / 1.18 GB, free: 1.832 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3141, allocations: 4 kB / 1.18 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3141, allocations: 0 / 1.18 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3141, allocations: 3.938 kB / 1.18 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.3143, allocations: 15.98 kB / 1.18 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3143, allocations: 0 / 1.18 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.3143, allocations: 7.984 kB / 1.18 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.3144, allocations: 4 kB / 1.18 GB, free: 1.797 MB / 0.92 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.721e-05/0.3145, allocations: 117.8 kB / 1.18 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.3145, allocations: 3.953 kB / 1.18 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.3145, allocations: 7.906 kB / 1.18 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3145, allocations: 4 kB / 1.18 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3146, allocations: 0 / 1.18 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3146, allocations: 0 / 1.18 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.3148, allocations: 177.5 kB / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3148, allocations: 256 / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.3149, allocations: 27.92 kB / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3149, allocations: 0 / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3149, allocations: 0 / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3149, allocations: 3.984 kB / 1.18 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3149, allocations: 3.984 kB / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.3153, allocations: 175.5 kB / 1.18 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.3153, allocations: 93.05 kB / 1.18 GB, free: 1.094 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.3153, allocations: 4 kB / 1.18 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.45e-05/0.3154, allocations: 4 kB / 1.18 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.3155, allocations: 11.98 kB / 1.18 GB, free: 1.074 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.3155, allocations: 0 / 1.18 GB, free: 1.074 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.984e-05/0.3156, allocations: 83.27 kB / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3156, allocations: 0 / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002244/0.3158, allocations: 15.94 kB / 1.18 GB, free: 0.9766 MB / 0.92 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.000124/0.316, allocations: 103.2 kB / 1.18 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.3162, allocations: 59.94 kB / 1.18 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3163, allocations: 0 / 1.18 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.3164, allocations: 32.25 kB / 1.18 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.3167, allocations: 4.266 kB / 1.18 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.3171, allocations: 163.1 kB / 1.181 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.3174, allocations: 0.6846 MB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.3175, allocations: 11.44 kB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of SimCode: time 2.184e-06/0.3175, allocations: 0 / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of Templates: time 0.002467/0.32, allocations: 0.8187 MB / 1.182 GB, free: 15.05 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.346021375968121]