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.001174/0.001174, allocations: 114.4 kB / 16.42 MB, free: 6.414 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.001077/0.001077, allocations: 185.5 kB / 17.35 MB, free: 5.695 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 67.89 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.124, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002658/1.127, allocations: 1.461 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000954/1.128, allocations: 0.565 MB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/1.128, allocations: 0 / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/1.128, allocations: 3.938 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/1.128, allocations: 7.938 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/1.128, allocations: 47.83 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.362e-05/1.129, allocations: 27.86 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/1.129, allocations: 11.98 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.106e-05/1.129, allocations: 12 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.26e-05/1.129, allocations: 19.91 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/1.129, allocations: 0 / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/1.129, allocations: 59.89 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/1.129, allocations: 7.938 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/1.129, allocations: 11.94 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/1.129, allocations: 59.86 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.129, allocations: 0 / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.824e-06/1.129, allocations: 4 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.18e-06/1.129, allocations: 0 / 1.211 GB, free: 11.29 MB / 0.9356 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.0004591/1.13, allocations: 347.3 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.13, allocations: 8.031 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/1.13, allocations: 8.844 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/1.13, allocations: 170.1 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/1.13, allocations: 4.375 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/1.13, allocations: 384 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/1.13, allocations: 46 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/1.13, allocations: 0 / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/1.13, allocations: 0 / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/1.13, allocations: 4 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.801e-05/1.13, allocations: 19.98 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/1.131, allocations: 268.7 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/1.131, allocations: 26.52 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/1.131, allocations: 20.91 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008533/1.132, allocations: 481.4 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/1.132, allocations: 34.56 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/1.132, allocations: 0 / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002445/1.132, allocations: 65.61 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/1.132, allocations: 51.41 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.752e-05/1.132, allocations: 113.8 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/1.132, allocations: 25.7 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/1.132, allocations: 80.14 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/1.132, allocations: 7.906 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/1.132, allocations: 13.72 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.132, allocations: 319 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/1.132, allocations: 12 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.275e-05/1.132, allocations: 7.984 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/1.133, allocations: 28.84 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.133, allocations: 3.938 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001184/1.133, allocations: 57.62 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/1.133, allocations: 4 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.133, allocations: 4.094 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.133, allocations: 0 / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/1.133, allocations: 7.984 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/1.133, allocations: 0 / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/1.133, allocations: 15.78 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/1.133, allocations: 0 / 1.213 GB, free: 8.77 MB / 0.9356 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 8.053e-05/1.133, allocations: 109.8 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/1.133, allocations: 4 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/1.133, allocations: 65.2 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.133, allocations: 3.938 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/1.133, allocations: 0 / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/1.133, allocations: 81.11 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/1.133, allocations: 3.984 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.91e-05/1.133, allocations: 4 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/1.133, allocations: 7.938 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001599/1.134, allocations: 137 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001868/1.134, allocations: 226.7 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.69e-05/1.134, allocations: 15.92 kB / 1.213 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.075e-05/1.134, allocations: 87.27 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of Backend: time 4.6e-07/1.134, allocations: 0 / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004187/1.134, allocations: 112.3 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004735/1.135, allocations: 0.5737 MB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of Templates: time 0.003306/1.138, allocations: 0.7819 MB / 1.215 GB, free: 6.453 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches