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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00851/0.00851, allocations: 101 kB / 15.73 MB, free: 5.992 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.00184/0.00184, allocations: 194.1 kB / 16.67 MB, free: 5.93 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.725/2.725, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 71.89 kB / 1.018 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2974, allocations: 151.6 MB / 1.166 GB, free: 7.418 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001945/0.2993, allocations: 0.6936 MB / 1.167 GB, free: 6.719 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3004, allocations: 0.8393 MB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.3005, allocations: 3.938 kB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.3005, allocations: 0 / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.415e-05/0.3006, allocations: 7.938 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.3008, allocations: 31.91 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.83e-05/0.3009, allocations: 39.91 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.301, allocations: 19.98 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.3011, allocations: 23.92 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.528e-05/0.3012, allocations: 23.91 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.3013, allocations: 4 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.734e-05/0.3013, allocations: 8 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.3013, allocations: 7.984 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.3014, allocations: 23.86 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.3015, allocations: 39.86 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3015, allocations: 0 / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3015, allocations: 0 / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3015, allocations: 0 / 1.168 GB, free: 5.637 MB / 0.92 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.0005376/0.302, allocations: 358.3 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3021, allocations: 12.03 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.3021, allocations: 30.75 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.3022, allocations: 12.78 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3023, allocations: 177.1 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.3024, allocations: 8.375 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.3024, allocations: 8.062 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.3026, allocations: 73.64 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3026, allocations: 0 / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3026, allocations: 0 / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3026, allocations: 0 / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.3029, allocations: 51.95 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.3033, allocations: 288.7 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.3035, allocations: 70.53 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.3037, allocations: 28.92 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.3037, allocations: 0 / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.3037, allocations: 38.55 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3037, allocations: 0 / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.000421/0.3041, allocations: 113.6 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.3042, allocations: 51.41 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/0.3043, allocations: 105.8 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3043, allocations: 25.7 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.3043, allocations: 92.05 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.3044, allocations: 3.906 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.3044, allocations: 21.7 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3045, allocations: 322.8 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.981e-05/0.3046, allocations: 23.97 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.627e-05/0.3047, allocations: 23.98 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.3049, allocations: 52.81 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3049, allocations: 256 / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002272/0.3052, allocations: 93.58 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3052, allocations: 4 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3052, allocations: 4 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3052, allocations: 0 / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.3054, allocations: 15.98 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.3054, allocations: 0 / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.401e-05/0.3055, allocations: 7.984 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3055, allocations: 3.938 kB / 1.17 GB, free: 3.328 MB / 0.92 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.027e-05/0.3056, allocations: 118.2 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.3056, allocations: 7.844 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.3057, allocations: 11.89 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3057, allocations: 3.984 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3057, allocations: 4 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3057, allocations: 0 / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.3059, allocations: 177.6 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3059, allocations: 3.938 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.26e-05/0.306, allocations: 15.92 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.306, allocations: 7.984 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.306, allocations: 4 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.306, allocations: 0 / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.306, allocations: 0 / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.3063, allocations: 179.4 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.3064, allocations: 89.02 kB / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3064, allocations: 0 / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.3065, allocations: 11.98 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.3066, allocations: 11.98 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.3066, allocations: 0 / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.3066, allocations: 87.22 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3066, allocations: 0 / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002216/0.3069, allocations: 8 kB / 1.171 GB, free: 2.5 MB / 0.92 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.000631/0.3075, allocations: 0.7163 MB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000252/0.3078, allocations: 55.95 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3078, allocations: 0 / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.3079, allocations: 39.91 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3082, allocations: 5.875 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.3098, allocations: 1.311 MB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.3101, allocations: 0.6807 MB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.026e-05/0.3101, allocations: 8 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.3102, allocations: 23.42 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.3102, allocations: 0 / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.3292, allocations: 1.813 MB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.868, allocations: 23.89 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > 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) "" Variables in the reference:time,abs1.u,abs1.y Variables in the result:abs1.u,abs1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time