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.001434/0.001434, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001688/0.001688, allocations: 186.2 kB / 22.22 MB, free: 5.105 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.614/1.614, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.829/2.829, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002341/0.002341, allocations: 59.89 kB / 1.061 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219/1.221, allocations: 160.8 MB / 1.218 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002566/1.224, allocations: 0.7119 MB / 1.219 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001338/1.225, allocations: 0.843 MB / 1.22 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/1.225, allocations: 3.938 kB / 1.22 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/1.225, allocations: 0 / 1.22 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.691e-05/1.225, allocations: 11.92 kB / 1.22 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/1.226, allocations: 19.92 kB / 1.22 GB, free: 2.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/1.226, allocations: 51.84 kB / 1.22 GB, free: 2.805 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/1.226, allocations: 11.98 kB / 1.22 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.85e-05/1.226, allocations: 19.98 kB / 1.22 GB, free: 2.773 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.109e-05/1.226, allocations: 27.91 kB / 1.22 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/1.226, allocations: 4 kB / 1.22 GB, free: 2.742 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/1.226, allocations: 7.938 kB / 1.22 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/1.226, allocations: 8 kB / 1.22 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/1.226, allocations: 19.91 kB / 1.22 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/1.226, allocations: 51.45 kB / 1.22 GB, free: 2.66 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/1.226, allocations: 3.938 kB / 1.22 GB, free: 2.656 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/1.226, allocations: 0 / 1.22 GB, free: 2.656 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.226, allocations: 4 kB / 1.22 GB, free: 2.652 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.0005972/1.227, allocations: 350.1 kB / 1.221 GB, free: 2.266 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/1.227, allocations: 12.03 kB / 1.221 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/1.227, allocations: 0.9375 kB / 1.221 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/1.227, allocations: 180.2 kB / 1.221 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/1.227, allocations: 384 / 1.221 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/1.227, allocations: 8.375 kB / 1.221 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/1.227, allocations: 73.58 kB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/1.227, allocations: 0 / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/1.227, allocations: 4 kB / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.227, allocations: 0 / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/1.228, allocations: 47.95 kB / 1.221 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/1.228, allocations: 292.7 kB / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/1.228, allocations: 66.55 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/1.228, allocations: 28.91 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/1.228, allocations: 4 kB / 1.221 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.229, allocations: 30.56 kB / 1.221 GB, free: 1.418 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.229, allocations: 0 / 1.221 GB, free: 1.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004394/1.229, allocations: 117.5 kB / 1.221 GB, free: 1.297 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/1.229, allocations: 51.41 kB / 1.221 GB, free: 1.234 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.229, allocations: 105.8 kB / 1.222 GB, free: 1.121 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/1.229, allocations: 29.7 kB / 1.222 GB, free: 1.086 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/1.229, allocations: 88.12 kB / 1.222 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/1.229, allocations: 15.84 kB / 1.222 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/1.229, allocations: 17.66 kB / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.229, allocations: 330.8 kB / 1.222 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/1.23, allocations: 19.98 kB / 1.222 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.374e-05/1.23, allocations: 23.97 kB / 1.222 GB, free: 0.582 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/1.23, allocations: 56.81 kB / 1.222 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.23, allocations: 0 / 1.222 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002449/1.23, allocations: 89.84 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.23, allocations: 4 kB / 1.222 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.23, allocations: 3.984 kB / 1.222 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.23, allocations: 0 / 1.222 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/1.23, allocations: 15.98 kB / 1.222 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.23, allocations: 7.984 kB / 1.222 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/1.23, allocations: 4 kB / 1.222 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/1.23, allocations: 3.984 kB / 1.222 GB, free: 400 kB / 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 0.0001263/1.23, allocations: 125.7 kB / 1.222 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/1.231, allocations: 7.953 kB / 1.222 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/1.231, allocations: 7.938 kB / 1.222 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.231, allocations: 0 / 1.222 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.231, allocations: 0 / 1.222 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.231, allocations: 4 kB / 1.222 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/1.231, allocations: 181.6 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.231, allocations: 0 / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/1.231, allocations: 15.98 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/1.231, allocations: 4 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/1.231, allocations: 4 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.231, allocations: 0 / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.231, allocations: 0 / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/1.231, allocations: 183.7 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/1.231, allocations: 85.06 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/1.231, allocations: 0 / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/1.231, allocations: 11.98 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/1.231, allocations: 7.984 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/1.231, allocations: 4 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.315e-05/1.232, allocations: 87.27 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/1.232, allocations: 0 / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002334/1.232, allocations: 11.94 kB / 1.223 GB, free: 15.57 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.0001355/1.232, allocations: 104.7 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002653/1.232, allocations: 59.94 kB / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.232, allocations: 0 / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/1.232, allocations: 35.97 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/1.233, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/1.233, allocations: 133.5 kB / 1.223 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/1.233, allocations: 0.6884 MB / 1.224 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.31e-05/1.233, allocations: 8 kB / 1.224 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.505e-05/1.233, allocations: 7.438 kB / 1.224 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/1.233, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of Templates: time 0.003914/1.237, allocations: 0.909 MB / 1.225 GB, free: 13.57 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.816273245960474]