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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001831/0.001831, allocations: 107.3 kB / 16.36 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.589/2.589, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 72 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3773, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00241/0.3798, allocations: 0.7093 MB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3809, allocations: 0.8312 MB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/0.381, allocations: 0 / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.381, allocations: 3.938 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.617e-05/0.3811, allocations: 11.92 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.3813, allocations: 27.91 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.781e-05/0.3814, allocations: 47.86 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.3816, allocations: 15.98 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.613e-05/0.3817, allocations: 27.91 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.36e-05/0.3817, allocations: 23.91 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.3818, allocations: 4 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.3818, allocations: 4 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.3818, allocations: 12 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.3819, allocations: 19.86 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.382, allocations: 51.78 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.382, allocations: 0 / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.863e-06/0.382, allocations: 0 / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.382, allocations: 0 / 1.028 GB, free: 316 kB / 0.795 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.0005699/0.3826, allocations: 348.6 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3827, allocations: 8.031 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.3827, allocations: 4.938 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.3829, allocations: 176.3 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3829, allocations: 8.375 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.3829, allocations: 384 / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.3832, allocations: 77.75 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3832, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3832, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3832, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.3834, allocations: 59.88 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.3839, allocations: 292.8 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.3841, allocations: 62.55 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.3842, allocations: 32.91 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.3843, allocations: 4 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3843, allocations: 38.5 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3843, allocations: 0 / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004233/0.3847, allocations: 109.5 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.3848, allocations: 55.34 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.3849, allocations: 105.8 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3849, allocations: 25.7 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.3849, allocations: 96.12 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.385, allocations: 7.812 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.385, allocations: 17.72 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3851, allocations: 322.8 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3852, allocations: 23.98 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.296e-05/0.3853, allocations: 27.91 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.3855, allocations: 56.81 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3855, allocations: 0 / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002347/0.3858, allocations: 85.59 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3858, allocations: 7.984 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3858, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3858, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.386, allocations: 11.98 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.386, allocations: 4 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.624e-05/0.386, allocations: 8 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3861, allocations: 3.984 kB / 1.03 GB, free: 14.05 MB / 0.8106 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 8.038e-05/0.3861, allocations: 121.7 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.3862, allocations: 7.906 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.3862, allocations: 7.906 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3862, allocations: 336 / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.3862, allocations: 0 / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3862, allocations: 4 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.3864, allocations: 181.6 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3864, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.332e-05/0.3865, allocations: 11.98 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3865, allocations: 256 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.3865, allocations: 4 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3866, allocations: 4 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3866, allocations: 0 / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.3868, allocations: 187.4 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.3869, allocations: 88.98 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.3869, allocations: 7.922 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.586e-05/0.387, allocations: 4 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.3871, allocations: 11.98 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.3871, allocations: 0 / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.3871, allocations: 87.27 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3871, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000231/0.3874, allocations: 11.91 kB / 1.031 GB, free: 13.22 MB / 0.8106 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.0001251/0.3875, allocations: 103.2 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002878/0.3878, allocations: 59.94 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3878, allocations: 0 / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.3879, allocations: 31.92 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.3882, allocations: 7.984 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.3886, allocations: 129.6 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.3889, allocations: 0.6807 MB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.698e-05/0.3889, allocations: 7.984 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.389, allocations: 15.44 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.389, allocations: 4 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of Templates: time 0.003291/0.3923, allocations: 0.9007 MB / 1.033 GB, free: 11.23 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) 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) Reference file matches