Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_11_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.005604/0.005604, 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.001503/0.001503, allocations: 202.6 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.768/2.768, allocations: 469.8 MB / 0.7426 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 68.11 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2749, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.0023/0.2773, allocations: 1.472 MB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008304/0.2781, allocations: 0.5533 MB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.2782, allocations: 0 / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.2782, allocations: 0 / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.2782, allocations: 11.91 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.2785, allocations: 39.84 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.378e-05/0.2786, allocations: 39.78 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.279e-05/0.2786, allocations: 8 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.2787, allocations: 19.92 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.2788, allocations: 8 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2788, allocations: 4 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.2789, allocations: 55.88 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.2789, allocations: 11.98 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.279, allocations: 7.938 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.2791, allocations: 63.8 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2791, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2791, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2791, allocations: 0 / 1.222 GB, free: 12 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.0004003/0.2795, allocations: 359.2 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2796, allocations: 8.031 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.896e-05/0.2796, allocations: 34.69 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.2796, allocations: 4.938 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.2798, allocations: 172.2 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.2798, allocations: 4.375 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-06/0.2798, allocations: 384 / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.2799, allocations: 49.8 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.2799, allocations: 0 / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.2799, allocations: 4 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2799, allocations: 3.938 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.948e-05/0.28, allocations: 19.98 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.2803, allocations: 252.9 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.819e-05/0.2804, allocations: 34.5 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.2805, allocations: 20.89 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007695/0.2813, allocations: 477.4 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.2813, allocations: 38.55 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2813, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002217/0.2815, allocations: 65.64 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.2816, allocations: 55.34 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.2816, allocations: 109.8 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.2817, allocations: 25.7 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.2817, allocations: 88.12 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.2817, allocations: 3.953 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.2818, allocations: 13.72 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2819, allocations: 322.9 kB / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.17e-05/0.2819, allocations: 11.98 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.282, allocations: 8 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.504e-05/0.2821, allocations: 24.84 kB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2821, allocations: 0 / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001167/0.2822, allocations: 61.61 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2822, allocations: 4.094 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2822, allocations: 4 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2822, allocations: 0 / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.932e-05/0.2823, allocations: 4 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.2823, allocations: 0 / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.2823, allocations: 11.98 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.2824, allocations: 0 / 1.225 GB, free: 9.43 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.372e-05/0.2824, allocations: 121.7 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.2825, allocations: 3.953 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.2826, allocations: 61.2 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2826, allocations: 0 / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2826, allocations: 0 / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2826, allocations: 0 / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.2828, allocations: 173.5 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2828, allocations: 4 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.2829, allocations: 4 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2829, allocations: 0 / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.2829, allocations: 0 / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2829, allocations: 4 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2829, allocations: 4.031 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.2831, allocations: 151.5 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.2831, allocations: 85 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.2831, allocations: 4 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.473e-05/0.2832, allocations: 0 / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.2832, allocations: 3.984 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.2832, allocations: 8.031 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.439e-05/0.2833, allocations: 83.28 kB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2833, allocations: 0 / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002208/0.2835, allocations: 19.92 kB / 1.225 GB, free: 8.609 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.0004986/0.284, allocations: 0.7012 MB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.2842, allocations: 23.98 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.2842, allocations: 0 / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.422e-05/0.2842, allocations: 19.92 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.2844, allocations: 0 / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.2848, allocations: 164 kB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.2851, allocations: 0.6847 MB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.158e-05/0.2851, allocations: 3.984 kB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.2851, allocations: 15.44 kB / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2851, allocations: 0 / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6749/0.9601, allocations: 1.623 MB / 1.228 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/15.21, allocations: 11.81 kB / 1.228 GB, free: 5.355 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches