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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_latest_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.006701/0.006701, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001482/0.001482, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.761/2.761, allocations: 469.4 MB / 0.7421 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002372, allocations: 68.11 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3168, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002817/0.3197, allocations: 1.465 MB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009297/0.3206, allocations: 0.5455 MB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.3207, allocations: 0 / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.3207, allocations: 0 / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/0.3208, allocations: 11.92 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.3211, allocations: 51.83 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.494e-05/0.3212, allocations: 35.78 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.584e-05/0.3212, allocations: 7.938 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.739e-05/0.3213, allocations: 23.92 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.3214, allocations: 4 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.3214, allocations: 0 / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.3216, allocations: 63.88 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.3216, allocations: 0 / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.3216, allocations: 15.92 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.3218, allocations: 63.8 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3218, allocations: 0 / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3218, allocations: 4 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.3218, allocations: 0 / 1.222 GB, free: 12.36 MB / 0.9825 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.0004151/0.3222, allocations: 351.2 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3223, allocations: 8.031 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.3223, allocations: 38.69 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.3223, allocations: 0.9375 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3225, allocations: 180.2 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.3225, allocations: 384 / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.3225, allocations: 4.375 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.3227, allocations: 49.8 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3227, allocations: 0 / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3227, allocations: 0 / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3227, allocations: 4 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.35e-05/0.3228, allocations: 19.97 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.3232, allocations: 248.9 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.905e-05/0.3233, allocations: 38.5 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.3233, allocations: 20.91 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008023/0.3241, allocations: 473.4 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3242, allocations: 34.56 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.3242, allocations: 0 / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002435/0.3244, allocations: 69.56 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.3245, allocations: 51.41 kB / 1.223 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.93e-05/0.3246, allocations: 113.8 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.3246, allocations: 25.7 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.3246, allocations: 92.25 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.3247, allocations: 7.953 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.3247, allocations: 13.72 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3248, allocations: 318.8 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/0.3249, allocations: 11.98 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.3249, allocations: 8 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.129e-05/0.325, allocations: 28.91 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.325, allocations: 0 / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001217/0.3251, allocations: 57.61 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.3251, allocations: 7.938 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3252, allocations: 0 / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.3252, allocations: 0 / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.3252, allocations: 12 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3253, allocations: 0 / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.3253, allocations: 4 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3253, allocations: 8.016 kB / 1.224 GB, free: 9.781 MB / 0.9825 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.13e-05/0.3254, allocations: 119.1 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.3254, allocations: 3.953 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.3256, allocations: 65.2 kB / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3256, allocations: 7.938 kB / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3256, allocations: 0 / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3256, allocations: 0 / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.3258, allocations: 161.6 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3258, allocations: 4.031 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.3258, allocations: 8 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3258, allocations: 0 / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3258, allocations: 0 / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3259, allocations: 0 / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3259, allocations: 0 / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.326, allocations: 151.5 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.3261, allocations: 89.09 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.3261, allocations: 0 / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.188e-05/0.3262, allocations: 0 / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.3262, allocations: 7.984 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3262, allocations: 0 / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.373e-05/0.3262, allocations: 87.28 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3263, allocations: 3.938 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002431/0.3265, allocations: 19.92 kB / 1.225 GB, free: 8.965 MB / 0.9825 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.0004558/0.327, allocations: 0.6929 MB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.3271, allocations: 23.98 kB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3271, allocations: 0 / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.213e-05/0.3272, allocations: 19.92 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.3274, allocations: 6.031 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.3278, allocations: 172 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.328, allocations: 0.6768 MB / 1.226 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.563e-05/0.3281, allocations: 3.984 kB / 1.226 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.3281, allocations: 15.44 kB / 1.226 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3281, allocations: 3.938 kB / 1.226 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.346, allocations: 1.629 MB / 1.228 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/8.169, allocations: 3.938 kB / 1.228 GB, free: 5.719 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv","/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