Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_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.001112/0.001112, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001386/0.001386, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 437.7 MB / 0.7117 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004087, allocations: 23.94 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8741/0.8745, allocations: 153.8 MB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001616/0.8762, allocations: 1.172 MB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008472/0.877, allocations: 0.5233 MB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.8771, allocations: 4 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.8771, allocations: 3.938 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.322e-05/0.8772, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.8774, allocations: 39.89 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.424e-05/0.8775, allocations: 27.86 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.799e-05/0.8776, allocations: 7.984 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.597e-05/0.8777, allocations: 11.98 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.361e-05/0.8777, allocations: 7.938 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.8778, allocations: 4 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.8779, allocations: 51.95 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.8779, allocations: 3.984 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.8779, allocations: 33.64 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.878, allocations: 51.88 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.878, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8781, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.8781, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 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.0004218/0.8785, allocations: 341.1 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.8785, allocations: 8.562 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.8786, allocations: 7.984 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.8787, allocations: 167.1 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.8787, allocations: 8 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.8787, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.8789, allocations: 45.64 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.8789, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.8789, allocations: 4 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8789, allocations: 3.938 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.441e-05/0.879, allocations: 23.98 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.8794, allocations: 252.9 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.053e-05/0.8795, allocations: 34.56 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.8795, allocations: 16.92 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007708/0.8803, allocations: 0.4897 MB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.8804, allocations: 38.5 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.083e-06/0.8804, allocations: 0 / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002543/0.8806, allocations: 69.58 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.8807, allocations: 55.53 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.8808, allocations: 113.8 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.8808, allocations: 25.7 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.8809, allocations: 88.14 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.8809, allocations: 3.906 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.8809, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.881, allocations: 318.8 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.984e-05/0.8811, allocations: 8 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.8811, allocations: 19.98 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.8812, allocations: 11.94 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8812, allocations: 3.938 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001284/0.8813, allocations: 61.62 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.8813, allocations: 5.406 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.8813, allocations: 4.094 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.8814, allocations: 4 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.858e-05/0.8814, allocations: 4 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.8814, allocations: 0 / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.454e-05/0.8815, allocations: 11.94 kB / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-06/0.8815, allocations: 3.984 kB / 1.026 GB, free: 11.59 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.226e-05/0.8816, allocations: 109.8 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.8816, allocations: 7.859 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.8818, allocations: 73.14 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.8818, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8818, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8818, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.882, allocations: 157.7 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.882, allocations: 11.97 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.882, allocations: 4 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.882, allocations: 3.953 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.8821, allocations: 8.031 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8821, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8821, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.8822, allocations: 155.5 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.8823, allocations: 81.02 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.8823, allocations: 7.984 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6e-05/0.8824, allocations: 4 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.8825, allocations: 7.984 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.8825, allocations: 0 / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.8825, allocations: 83.59 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8825, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002361/0.8828, allocations: 19.98 kB / 1.027 GB, free: 10.77 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001903/0.883, allocations: 119.2 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.8831, allocations: 35.92 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8831, allocations: 3.938 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-05/0.8832, allocations: 19.92 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.8834, allocations: 2.391 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.8837, allocations: 136.8 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.884, allocations: 0.677 MB / 1.028 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.281e-05/0.884, allocations: 4 kB / 1.028 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.884, allocations: 11.42 kB / 1.028 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.884, allocations: 0 / 1.028 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of Templates: time 0.002863/0.8869, allocations: 0.6172 MB / 1.029 GB, free: 9.094 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches