Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001488/0.001488, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001521/0.001521, allocations: 199.4 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.357/1.357, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.625/2.625, allocations: 469.8 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 64.28 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3006, allocations: 159.2 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001983/0.3027, allocations: 0.7525 MB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3037, allocations: 0.8429 MB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.3038, allocations: 0 / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.3038, allocations: 0 / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.388e-05/0.3039, allocations: 7.938 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.3041, allocations: 19.98 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.57e-05/0.3042, allocations: 51.84 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.3043, allocations: 15.98 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/0.3043, allocations: 15.92 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.294e-05/0.3044, allocations: 27.91 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.3044, allocations: 4 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.3045, allocations: 8 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.3045, allocations: 15.97 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.3045, allocations: 15.88 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.745e-05/0.3046, allocations: 27.94 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3046, allocations: 4 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3046, allocations: 0 / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3046, allocations: 3.984 kB / 1.066 GB, free: 13.27 MB / 0.8419 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.0005156/0.3051, allocations: 351.7 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.3052, allocations: 8.031 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.3052, allocations: 8.938 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.3054, allocations: 168.3 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.3054, allocations: 8.375 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.3054, allocations: 4.312 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.3056, allocations: 69.78 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3056, allocations: 3.938 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3057, allocations: 0 / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3057, allocations: 0 / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.3059, allocations: 59.94 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.3063, allocations: 288.8 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.3065, allocations: 66.48 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.3067, allocations: 44.89 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3067, allocations: 0 / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.3067, allocations: 34.56 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3067, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004219/0.3072, allocations: 113.5 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.3072, allocations: 51.41 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.668e-05/0.3073, allocations: 109.8 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3073, allocations: 25.7 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.3074, allocations: 88.14 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.3074, allocations: 11.8 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.3075, allocations: 17.72 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3076, allocations: 322.8 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3077, allocations: 19.98 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.739e-05/0.3078, allocations: 31.97 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.308, allocations: 56.75 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.308, allocations: 0 / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002406/0.3083, allocations: 85.59 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3083, allocations: 4 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3083, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3083, allocations: 7.984 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.3085, allocations: 15.98 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3085, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.3086, allocations: 4 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.3086, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8419 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.099e-05/0.3087, allocations: 121.8 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.3087, allocations: 3.906 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.3088, allocations: 7.906 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3088, allocations: 4 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3088, allocations: 4 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.3088, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.309, allocations: 177.6 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.309, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.581e-05/0.3091, allocations: 11.98 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3091, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.3091, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3091, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3091, allocations: 7.875 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.3094, allocations: 187.4 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.3095, allocations: 88.95 kB / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.3095, allocations: 0.625 kB / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.944e-05/0.3096, allocations: 11.98 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.3097, allocations: 11.98 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/0.3097, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.699e-05/0.3098, allocations: 91.27 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3098, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002124/0.31, allocations: 8 kB / 1.069 GB, free: 10.19 MB / 0.8419 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.0001243/0.3101, allocations: 103.2 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.3104, allocations: 59.89 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3104, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.3105, allocations: 35.97 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.3108, allocations: 7.938 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.3112, allocations: 163.3 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.3115, allocations: 0.6807 MB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.3115, allocations: 11.42 kB / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of SimCode: time 4e-07/0.3115, allocations: 11.94 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of Templates: time 0.002246/0.3138, allocations: 0.8043 MB / 1.07 GB, free: 8.258 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches