Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009725/0.0009727, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008376/0.008377, allocations: 170 kB / 16.26 MB, free: 6.613 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.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.804/2.804, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 9.406 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2962, allocations: 159.6 MB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001536/0.2978, allocations: 1.187 MB / 1.06 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008381/0.2987, allocations: 0.5649 MB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.2987, allocations: 0 / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.2987, allocations: 0 / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.774e-05/0.2988, allocations: 11.92 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.299, allocations: 39.91 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.807e-05/0.2991, allocations: 27.86 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.534e-05/0.2992, allocations: 8 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.525e-05/0.2992, allocations: 11.92 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.2993, allocations: 8 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.2993, allocations: 0 / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.2994, allocations: 59.88 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.2994, allocations: 7.984 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.2995, allocations: 37.64 kB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.2996, allocations: 55.86 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2996, allocations: 0 / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2996, allocations: 0 / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.247e-06/0.2996, allocations: 0 / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003651/0.3, allocations: 353.1 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3, allocations: 8.031 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.3001, allocations: 4.938 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.967e-05/0.3002, allocations: 172.2 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3002, allocations: 384 / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.3002, allocations: 4.312 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.3003, allocations: 57.97 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.3004, allocations: 0 / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.3004, allocations: 0 / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3004, allocations: 0 / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.225e-05/0.3005, allocations: 27.98 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.3008, allocations: 260.8 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.482e-05/0.3009, allocations: 34.5 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.3009, allocations: 20.91 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/0.3019, allocations: 0.4935 MB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.302, allocations: 30.56 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.302, allocations: 0 / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002469/0.3022, allocations: 73.7 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.3023, allocations: 51.41 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.3024, allocations: 113.8 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3024, allocations: 25.7 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.3024, allocations: 88.03 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.3024, allocations: 4 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.3025, allocations: 9.719 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.896e-05/0.3026, allocations: 314.8 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.701e-05/0.3026, allocations: 20.02 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-05/0.3027, allocations: 8 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.752e-05/0.3028, allocations: 32.78 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3028, allocations: 0 / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001298/0.3029, allocations: 69.59 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3029, allocations: 5.719 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3029, allocations: 7.984 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3029, allocations: 0 / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.303e-05/0.303, allocations: 8 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.303, allocations: 320 / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.438e-05/0.3031, allocations: 4 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.3031, allocations: 0 / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.215e-05/0.3032, allocations: 117.8 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.3032, allocations: 4 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.3034, allocations: 65.2 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3034, allocations: 0 / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3034, allocations: 7.875 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.3034, allocations: 0 / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.3035, allocations: 161.6 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3036, allocations: 4.031 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.3036, allocations: 7.984 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3036, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.3036, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3036, allocations: 4 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3036, allocations: 0 / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.3038, allocations: 167.4 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.3038, allocations: 77.11 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.3039, allocations: 0 / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.124e-05/0.3039, allocations: 4 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.304, allocations: 0 / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.304, allocations: 4 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.304, allocations: 95.19 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.402e-06/0.304, allocations: 0 / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002361/0.3043, allocations: 23.97 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001651/0.3044, allocations: 119.2 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.3046, allocations: 27.98 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3046, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.02e-05/0.3046, allocations: 11.98 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.3049, allocations: 16.06 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.3051, allocations: 140.4 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.3054, allocations: 0.677 MB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.235e-05/0.3054, allocations: 4 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.3054, allocations: 7.438 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3054, allocations: 4 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.002531/0.3079, allocations: 0.6295 MB / 1.065 GB, free: 14.35 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches