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.001479/0.001479, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.492/2.492, allocations: 437.1 MB / 0.7104 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001503, allocations: 67.89 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6384/0.64, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002726/0.6427, allocations: 1.468 MB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00088/0.6436, allocations: 0.5618 MB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.6437, allocations: 0 / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.6437, allocations: 3.938 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-05/0.6438, allocations: 11.92 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.6441, allocations: 47.84 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.192e-05/0.6441, allocations: 31.84 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.766e-05/0.6442, allocations: 4 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.977e-05/0.6443, allocations: 19.92 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.6444, allocations: 15.98 kB / 1.02 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.6444, allocations: 0 / 1.02 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.6445, allocations: 55.89 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.6445, allocations: 3.984 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.6446, allocations: 11.94 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.6447, allocations: 59.86 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.6447, allocations: 0 / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6447, allocations: 7.938 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.6448, allocations: 0 / 1.02 GB, free: 220 kB / 0.7637 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.0004128/0.6452, allocations: 357.6 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.6452, allocations: 8.031 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.6453, allocations: 38.75 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.6453, allocations: 0.9375 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.6454, allocations: 168.3 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-06/0.6454, allocations: 4.312 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.6454, allocations: 4.359 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.6456, allocations: 45.81 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.6456, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.6456, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6456, allocations: 8 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/0.6457, allocations: 23.91 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.6461, allocations: 256.9 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.961e-05/0.6462, allocations: 22.58 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.6462, allocations: 20.91 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008201/0.6471, allocations: 481.3 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.6471, allocations: 34.56 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.6471, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002531/0.6474, allocations: 65.53 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.6474, allocations: 59.39 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.41e-05/0.6475, allocations: 109.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.6475, allocations: 29.69 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.6476, allocations: 80.14 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.6476, allocations: 11.91 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.6476, allocations: 9.719 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.6477, allocations: 326.9 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.727e-05/0.6478, allocations: 8 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.716e-05/0.6478, allocations: 11.98 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.168e-05/0.6479, allocations: 32.78 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.6479, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001224/0.6481, allocations: 49.69 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.6481, allocations: 4.094 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6481, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6481, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.598e-05/0.6482, allocations: 8 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.6482, allocations: 3.984 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.6482, allocations: 3.938 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.6483, allocations: 0 / 1.022 GB, free: 13.64 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.791e-05/0.6483, allocations: 114.4 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.6484, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.6486, allocations: 73.05 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.6486, allocations: 7.938 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.6486, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6486, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.6487, allocations: 161.6 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.6488, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.6488, allocations: 8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6488, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.6488, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6488, allocations: 4.031 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6488, allocations: 3.984 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.649, allocations: 151.4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.6491, allocations: 77.11 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.6491, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-05/0.6491, allocations: 3.984 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.6492, allocations: 8 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.6492, allocations: 4.031 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.6492, allocations: 91.2 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6492, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002388/0.6495, allocations: 20 kB / 1.023 GB, free: 12.83 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 (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.0005591/0.65, allocations: 0.6968 MB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.6502, allocations: 27.92 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6502, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.582e-05/0.6503, allocations: 11.98 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.6505, allocations: 4 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.651, allocations: 156.5 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.6512, allocations: 0.6807 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.369e-05/0.6513, allocations: 3.938 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.6513, allocations: 15.44 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.6513, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.6701, allocations: 1.577 MB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.426/8.096, allocations: 18.05 kB / 1.026 GB, free: 9.602 MB / 0.7794 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=50 --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