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.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.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothLimit",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.00605/0.00605, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001335/0.001335, allocations: 193.6 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.37/2.37, allocations: 437.1 MB / 0.7106 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.89 kB / 1.018 GB, free: 9.836 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6659/0.6679, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.0023/0.6703, allocations: 1.456 MB / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007669/0.671, allocations: 0.5681 MB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.6711, allocations: 0 / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.6711, allocations: 3.938 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.095e-05/0.6711, allocations: 7.938 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.6713, allocations: 55.81 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.089e-05/0.6714, allocations: 27.86 kB / 1.168 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.6714, allocations: 4 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.863e-05/0.6715, allocations: 15.94 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.142e-05/0.6715, allocations: 15.97 kB / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.786e-06/0.6715, allocations: 0 / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.033e-05/0.6716, allocations: 55.89 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.6716, allocations: 4 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.6717, allocations: 15.92 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.6718, allocations: 63.52 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.6718, allocations: 0 / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.31e-07/0.6718, allocations: 4 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.6718, allocations: 0 / 1.168 GB, free: 1.445 MB / 0.8887 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.0003208/0.6721, allocations: 355.2 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 2.365e-05/0.6722, allocations: 8.922 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.746e-05/0.6722, allocations: 42.67 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.283e-05/0.6722, allocations: 0.9375 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.6723, allocations: 172.3 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.6723, allocations: 384 / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.6724, allocations: 8.359 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.058e-05/0.6724, allocations: 41.81 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-06/0.6725, allocations: 0 / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.6725, allocations: 4 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.6725, allocations: 8 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.399e-05/0.6726, allocations: 19.91 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.6728, allocations: 256.9 kB / 1.169 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.173e-05/0.6729, allocations: 30.56 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.6729, allocations: 16.92 kB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007564/0.6737, allocations: 477.4 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.6737, allocations: 30.56 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.6737, allocations: 0 / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0001911/0.6739, allocations: 73.56 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.674, allocations: 51.41 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/0.6741, allocations: 109.8 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.6741, allocations: 25.7 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.6741, allocations: 84.14 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.6741, allocations: 11.89 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.6742, allocations: 17.7 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.6743, allocations: 318.8 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.944e-05/0.6743, allocations: 12.11 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.6744, allocations: 12 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.556e-05/0.6745, allocations: 24.84 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.6745, allocations: 3.938 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001114/0.6746, allocations: 49.69 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.6746, allocations: 4 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/0.6746, allocations: 4.094 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.6746, allocations: 3.984 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.6747, allocations: 12 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.6747, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.665e-05/0.6747, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.6747, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 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 7.246e-05/0.6748, allocations: 125.7 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.6748, allocations: 3.953 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.675, allocations: 69.14 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.675, allocations: 4 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.675, allocations: 0 / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-06/0.675, allocations: 0 / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.6752, allocations: 157.6 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.6752, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-05/0.6752, allocations: 11.98 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.6752, allocations: 0 / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-06/0.6753, allocations: 0 / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6753, allocations: 0 / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.6753, allocations: 4.031 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.6754, allocations: 155.4 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.6755, allocations: 85.06 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.6755, allocations: 0 / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.6756, allocations: 0 / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.6756, allocations: 4 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.6756, allocations: 0 / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.457e-05/0.6756, allocations: 95.3 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6757, allocations: 0 / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002154/0.6759, allocations: 15.94 kB / 1.171 GB, free: 14.06 MB / 0.9044 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.0004695/0.6763, allocations: 0.6967 MB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.6765, allocations: 31.95 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.6765, allocations: 0 / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.354e-05/0.6765, allocations: 15.94 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.6767, allocations: 0 / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.677, allocations: 164.1 kB / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.6773, allocations: 0.6808 MB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.115e-05/0.6774, allocations: 7.984 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.6774, allocations: 15.42 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.6774, allocations: 0 / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8365/1.514, allocations: 1.602 MB / 1.174 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.64, allocations: 3.938 kB / 1.174 GB, free: 10.83 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches