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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001446/0.001446, allocations: 116.4 kB / 16.42 MB, free: 6.48 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.001523/0.001524, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.688/2.688, allocations: 472.7 MB / 0.746 GB, free: 480 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 71.89 kB / 1.07 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127/1.129, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002916/1.132, allocations: 1.446 MB / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001192/1.133, allocations: 0.565 MB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/1.133, allocations: 0 / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.857e-05/1.133, allocations: 3.938 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.702e-05/1.133, allocations: 11.88 kB / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/1.133, allocations: 47.81 kB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.616e-05/1.133, allocations: 31.86 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/1.134, allocations: 11.98 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.444e-05/1.134, allocations: 15.94 kB / 1.228 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/1.134, allocations: 15.92 kB / 1.228 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/1.134, allocations: 0 / 1.228 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/1.134, allocations: 55.95 kB / 1.229 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/1.134, allocations: 7.922 kB / 1.229 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/1.134, allocations: 15.92 kB / 1.229 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/1.134, allocations: 60.36 kB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.134, allocations: 0 / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.805e-06/1.134, allocations: 4 kB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.134, allocations: 0 / 1.229 GB, free: 11.21 MB / 0.9512 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.0004919/1.135, allocations: 351.2 kB / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.135, allocations: 8.031 kB / 1.229 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/1.135, allocations: 4.938 kB / 1.229 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/1.135, allocations: 172.3 kB / 1.229 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/1.135, allocations: 4.375 kB / 1.229 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/1.135, allocations: 4.375 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/1.135, allocations: 42 kB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/1.135, allocations: 0 / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/1.135, allocations: 4 kB / 1.229 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/1.135, allocations: 3.938 kB / 1.229 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.893e-05/1.135, allocations: 19.98 kB / 1.229 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/1.136, allocations: 260.8 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/1.136, allocations: 30.56 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/1.136, allocations: 24.92 kB / 1.229 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000845/1.137, allocations: 469.4 kB / 1.23 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/1.137, allocations: 38.5 kB / 1.23 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/1.137, allocations: 0 / 1.23 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002736/1.137, allocations: 69.62 kB / 1.23 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/1.137, allocations: 51.41 kB / 1.23 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/1.137, allocations: 109.8 kB / 1.23 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/1.137, allocations: 25.7 kB / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/1.137, allocations: 84.14 kB / 1.23 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/1.137, allocations: 7.938 kB / 1.23 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/1.137, allocations: 21.7 kB / 1.23 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.138, allocations: 315 kB / 1.231 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.374e-05/1.138, allocations: 8 kB / 1.231 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/1.138, allocations: 11.98 kB / 1.231 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.394e-05/1.138, allocations: 28.78 kB / 1.231 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.138, allocations: 7.875 kB / 1.231 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001162/1.138, allocations: 53.69 kB / 1.231 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.138, allocations: 8.094 kB / 1.231 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.138, allocations: 0 / 1.231 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/1.138, allocations: 0 / 1.231 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/1.138, allocations: 7.984 kB / 1.231 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.138, allocations: 0 / 1.231 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/1.138, allocations: 4 kB / 1.231 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/1.138, allocations: 0 / 1.231 GB, free: 8.691 MB / 0.9512 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 9.026e-05/1.138, allocations: 114.3 kB / 1.231 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/1.138, allocations: 7.953 kB / 1.231 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/1.138, allocations: 73.08 kB / 1.231 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.138, allocations: 0 / 1.231 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/1.138, allocations: 0 / 1.231 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.423e-05/1.139, allocations: 85.09 kB / 1.231 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/1.139, allocations: 0 / 1.231 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.868e-05/1.139, allocations: 0 / 1.231 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/1.139, allocations: 3.938 kB / 1.231 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001849/1.139, allocations: 140.9 kB / 1.231 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002243/1.139, allocations: 226.8 kB / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.13e-05/1.139, allocations: 12 kB / 1.231 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.751e-05/1.139, allocations: 83.27 kB / 1.231 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of Backend: time 2.1e-07/1.139, allocations: 0 / 1.231 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004629/1.14, allocations: 113.3 kB / 1.232 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005135/1.14, allocations: 0.5774 MB / 1.232 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of Templates: time 0.003411/1.144, allocations: 0.7842 MB / 1.233 GB, free: 6.383 MB / 0.9512 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