Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005618/0.005619, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001114/0.001114, allocations: 190.2 kB / 16.67 MB, free: 5.973 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001206, allocations: 66.66 kB / 0.9509 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3196, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002641/0.3223, allocations: 0.6923 MB / 1.089 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.324, allocations: 0.8393 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.3241, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.809e-05/0.3242, allocations: 7.938 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.3244, allocations: 7.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.3246, allocations: 19.92 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.3248, allocations: 51.83 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.325, allocations: 15.98 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.3251, allocations: 15.98 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.3252, allocations: 31.84 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.3252, allocations: 8 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.3253, allocations: 4 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.3253, allocations: 7.984 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.265e-05/0.3254, allocations: 23.92 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.3256, allocations: 43.8 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.3256, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3256, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.3256, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 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.0007747/0.3264, allocations: 359.3 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.894e-05/0.3265, allocations: 12.03 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.3266, allocations: 4.938 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.3268, allocations: 168.3 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.3268, allocations: 4.375 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.3268, allocations: 384 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.3271, allocations: 77.59 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3272, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3272, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3272, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.3275, allocations: 55.89 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.3282, allocations: 292.7 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.3285, allocations: 66.55 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.3286, allocations: 28.91 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3287, allocations: 8 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3287, allocations: 34.5 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.3287, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0005613/0.3293, allocations: 109.5 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.3293, allocations: 51.41 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3295, allocations: 113.8 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3295, allocations: 25.7 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/0.3296, allocations: 88.08 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.3296, allocations: 15.8 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.3297, allocations: 13.72 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3299, allocations: 322.8 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.33, allocations: 23.97 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.3302, allocations: 28.16 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.3304, allocations: 64.83 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3304, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003182/0.3308, allocations: 85.59 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.3308, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3308, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.3308, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.331, allocations: 19.97 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.3311, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.734e-05/0.3312, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.3312, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 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.0001484/0.3313, allocations: 117.8 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.3314, allocations: 11.84 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.3314, allocations: 3.906 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3314, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.3315, allocations: 4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.559e-05/0.3315, allocations: 4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.3318, allocations: 181.5 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3318, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.332, allocations: 11.98 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.332, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.332, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.332, allocations: 256 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.332, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.3324, allocations: 183.4 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.3325, allocations: 85.02 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.3326, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.3327, allocations: 11.98 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3328, allocations: 11.92 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3328, allocations: 3.938 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.751e-05/0.3329, allocations: 87.27 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3329, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003515/0.3333, allocations: 11.94 kB / 1.092 GB, free: 12.62 MB / 0.8575 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.0001689/0.3335, allocations: 99.78 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000371/0.3338, allocations: 51.95 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3339, allocations: 0 / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.334, allocations: 39.91 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.3346, allocations: 10.02 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.3352, allocations: 137.6 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.3357, allocations: 0.6807 MB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.364e-05/0.3358, allocations: 8 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.3359, allocations: 15.42 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of SimCode: time 5.41e-07/0.3359, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of Templates: time 0.004794/0.3407, allocations: 0.8925 MB / 1.094 GB, free: 10.64 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches