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.0021/0.0021, allocations: 101.2 kB / 15.99 MB, free: 6.367 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.002335/0.002335, allocations: 195.6 kB / 16.91 MB, free: 6.195 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.431/1.431, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.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.562/2.562, allocations: 437.1 MB / 0.7107 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 63.72 kB / 0.8694 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3061, allocations: 151.6 MB / 1.017 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00237/0.3085, allocations: 0.7564 MB / 1.018 GB, free: 10.2 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3097, allocations: 0.8405 MB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.3098, allocations: 0 / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.3098, allocations: 0 / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.505e-05/0.3099, allocations: 7.938 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.3101, allocations: 23.98 kB / 1.019 GB, free: 9.312 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.014e-05/0.3102, allocations: 47.84 kB / 1.019 GB, free: 9.266 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3103, allocations: 11.98 kB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.683e-05/0.3104, allocations: 23.98 kB / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.515e-05/0.3105, allocations: 35.83 kB / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.3105, allocations: 4 kB / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.3105, allocations: 4 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.3105, allocations: 4 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.3106, allocations: 19.86 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.281e-05/0.3107, allocations: 31.94 kB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3107, allocations: 0 / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3107, allocations: 3.938 kB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3107, allocations: 0 / 1.019 GB, free: 9.129 MB / 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.0006049/0.3113, allocations: 355.6 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3114, allocations: 12.92 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.3114, allocations: 4.938 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.3116, allocations: 172.3 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.3116, allocations: 384 / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.3116, allocations: 8.312 kB / 1.02 GB, free: 8.504 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.3119, allocations: 77.77 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.3119, allocations: 0 / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3119, allocations: 8 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3119, allocations: 3.984 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.3121, allocations: 47.95 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.3126, allocations: 284.8 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.3129, allocations: 74.47 kB / 1.02 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.313, allocations: 28.92 kB / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.313, allocations: 0 / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.313, allocations: 38.55 kB / 1.02 GB, free: 7.875 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.3131, allocations: 0 / 1.02 GB, free: 7.875 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0004475/0.3135, allocations: 117.5 kB / 1.02 GB, free: 7.754 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3136, allocations: 51.41 kB / 1.02 GB, free: 7.691 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/0.3137, allocations: 109.8 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3137, allocations: 25.7 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.3138, allocations: 84.14 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.3138, allocations: 7.906 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.3138, allocations: 21.7 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.314, allocations: 322.8 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3141, allocations: 23.97 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.9e-05/0.3142, allocations: 23.98 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.3144, allocations: 52.81 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3145, allocations: 3.938 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002531/0.3147, allocations: 93.48 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3147, allocations: 8 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3147, allocations: 0 / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3148, allocations: 0 / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3149, allocations: 11.98 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3149, allocations: 0 / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/0.315, allocations: 11.98 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.315, allocations: 4 kB / 1.021 GB, free: 6.859 MB / 0.795 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.0001062/0.3151, allocations: 114.3 kB / 1.021 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.3151, allocations: 4 kB / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.3152, allocations: 11.89 kB / 1.021 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3152, allocations: 3.938 kB / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3152, allocations: 0 / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3152, allocations: 0 / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.3154, allocations: 181.6 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3154, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.535e-05/0.3155, allocations: 11.98 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.3155, allocations: 4.312 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3156, allocations: 8 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3156, allocations: 4.25 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.3156, allocations: 7.938 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.3159, allocations: 183.4 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.316, allocations: 81.05 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.316, allocations: 0 / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3161, allocations: 11.98 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.3162, allocations: 11.98 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.3162, allocations: 4 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.706e-05/0.3162, allocations: 83.28 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3162, allocations: 0 / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002229/0.3165, allocations: 11.91 kB / 1.022 GB, free: 6.039 MB / 0.795 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.0001383/0.3166, allocations: 103.2 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002668/0.3169, allocations: 63.89 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3169, allocations: 0 / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.317, allocations: 31.97 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.3173, allocations: 4 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.3177, allocations: 165.3 kB / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.318, allocations: 0.6846 MB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.3181, allocations: 15.44 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of SimCode: time 2.154e-06/0.3181, allocations: 0 / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of Templates: time 0.002384/0.3205, allocations: 0.8071 MB / 1.024 GB, free: 4.105 MB / 0.795 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/jenkins1/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