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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001274/0.001274, allocations: 101.1 kB / 16.36 MB, free: 6.012 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.001531/0.001531, allocations: 193.3 kB / 17.3 MB, free: 5.617 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.38 kB / 0.8707 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3288, allocations: 151.6 MB / 1.019 GB, free: 9.914 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002488/0.3314, allocations: 0.703 MB / 1.019 GB, free: 9.203 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3328, allocations: 0.8429 MB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/0.3329, allocations: 0 / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.372e-05/0.333, allocations: 7.922 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.3331, allocations: 0 / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.3333, allocations: 23.92 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.3334, allocations: 47.84 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3336, allocations: 19.97 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.731e-05/0.3337, allocations: 23.98 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.558e-05/0.3337, allocations: 23.86 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.3338, allocations: 4 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.3338, allocations: 4 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.3338, allocations: 11.98 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.3339, allocations: 19.91 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.334, allocations: 43.81 kB / 1.021 GB, free: 8.121 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.334, allocations: 4 kB / 1.021 GB, free: 8.117 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.974e-06/0.334, allocations: 0 / 1.021 GB, free: 8.117 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.334, allocations: 0 / 1.021 GB, free: 8.117 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.0005532/0.3346, allocations: 355.3 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.3346, allocations: 8.922 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.3347, allocations: 4.938 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.3349, allocations: 180.2 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.335, allocations: 4.359 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.335, allocations: 8.359 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.3352, allocations: 65.78 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3352, allocations: 0 / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3352, allocations: 8 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3353, allocations: 4 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.3355, allocations: 47.95 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.336, allocations: 288.7 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.3362, allocations: 66.53 kB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3363, allocations: 36.91 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.3364, allocations: 0 / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3364, allocations: 30.56 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3364, allocations: 0 / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.000432/0.3368, allocations: 113.5 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3369, allocations: 59.41 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.3371, allocations: 109.8 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3371, allocations: 25.7 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.3372, allocations: 88.08 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.3372, allocations: 7.906 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.3373, allocations: 21.7 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3375, allocations: 318.8 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.3376, allocations: 27.97 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.732e-05/0.3377, allocations: 23.97 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.3379, allocations: 56.77 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3379, allocations: 0 / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002342/0.3381, allocations: 85.83 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3381, allocations: 4 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3381, allocations: 4 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.3382, allocations: 4.047 kB / 1.023 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.3383, allocations: 15.97 kB / 1.023 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3383, allocations: 0 / 1.023 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.135e-05/0.3384, allocations: 11.98 kB / 1.023 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3384, allocations: 0 / 1.023 GB, free: 5.852 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 9.663e-05/0.3385, allocations: 113.8 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.3386, allocations: 0 / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.3386, allocations: 19.89 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3386, allocations: 0 / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3386, allocations: 0 / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3386, allocations: 3.938 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.3388, allocations: 181.5 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3388, allocations: 4 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.23e-05/0.3389, allocations: 15.92 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3389, allocations: 0 / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.339, allocations: 4 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.339, allocations: 0 / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.339, allocations: 4 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.3393, allocations: 183.4 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.3393, allocations: 81.05 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.3394, allocations: 0 / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.3395, allocations: 7.984 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.3395, allocations: 12.23 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.3395, allocations: 4 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.3396, allocations: 95.22 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3396, allocations: 3.938 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002254/0.3398, allocations: 7.906 kB / 1.023 GB, free: 5.027 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.000213/0.34, allocations: 107.2 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.3403, allocations: 51.95 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3403, allocations: 8 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.3405, allocations: 27.97 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.3408, allocations: 8 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.3412, allocations: 135.1 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.3418, allocations: 0.6807 MB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.866e-05/0.3418, allocations: 8 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.3419, allocations: 19.42 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of SimCode: time 5.51e-07/0.3419, allocations: 0 / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of Templates: time 0.003895/0.3458, allocations: 0.8817 MB / 1.025 GB, free: 3.051 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=480 -s gbode -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