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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001434, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 191.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.968/2.968, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 68.14 kB / 0.8692 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8787/0.8808, allocations: 151.6 MB / 1.017 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002134/0.883, allocations: 0.7143 MB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.884, allocations: 0.8391 MB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.8841, allocations: 0 / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.8841, allocations: 3.938 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.375e-05/0.8842, allocations: 3.938 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.8844, allocations: 27.97 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.631e-05/0.8845, allocations: 43.86 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.8846, allocations: 15.98 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.8847, allocations: 23.97 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.8848, allocations: 19.92 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.8848, allocations: 8 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.637e-05/0.8848, allocations: 11.88 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.8848, allocations: 7.984 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.8849, allocations: 23.91 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.906e-05/0.885, allocations: 35.88 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.885, allocations: 7.922 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.383e-06/0.885, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.885, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 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.0005847/0.8856, allocations: 361.3 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.8856, allocations: 8.031 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.8857, allocations: 0.9375 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.8858, allocations: 176.2 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.8859, allocations: 4.375 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.8859, allocations: 384 / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.8861, allocations: 73.78 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.8861, allocations: 0 / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.8861, allocations: 4 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.8861, allocations: 0 / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.8864, allocations: 55.88 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.8869, allocations: 284.8 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.8871, allocations: 74.53 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.8872, allocations: 32.84 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.8872, allocations: 7.938 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.8873, allocations: 30.56 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.8873, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004526/0.8877, allocations: 109.6 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.8878, allocations: 51.41 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.8879, allocations: 117.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.888, allocations: 25.7 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.888, allocations: 88.12 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.8881, allocations: 11.84 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.8881, allocations: 13.72 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.8883, allocations: 326.8 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.8884, allocations: 27.92 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.8885, allocations: 23.97 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.8887, allocations: 52.81 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8888, allocations: 4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002646/0.889, allocations: 89.56 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.889, allocations: 7.938 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.8891, allocations: 3.984 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.8891, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.8892, allocations: 11.98 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.8892, allocations: 3.938 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.8893, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.8893, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 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.679e-05/0.8894, allocations: 121.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.8895, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.8895, allocations: 3.906 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8895, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8895, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.8895, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.8897, allocations: 185.6 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8897, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.766e-05/0.8898, allocations: 11.98 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8898, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.8899, allocations: 8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8899, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8899, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.8902, allocations: 191.6 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.8902, allocations: 77.11 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.8903, allocations: 4 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.8904, allocations: 15.98 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.8904, allocations: 7.984 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.8905, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.47e-05/0.8905, allocations: 95.45 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8905, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002283/0.8908, allocations: 8 kB / 1.022 GB, free: 13.68 MB / 0.7794 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.0001334/0.8909, allocations: 103.2 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002789/0.8912, allocations: 59.94 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8912, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.8913, allocations: 35.92 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.8916, allocations: 7.984 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.892, allocations: 129.5 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.8924, allocations: 0.6807 MB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.551e-05/0.8925, allocations: 11.92 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.8925, allocations: 11.44 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8925, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of Templates: time 0.00394/0.8965, allocations: 0.8735 MB / 1.024 GB, free: 11.71 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (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) 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) Reference file matches