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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.001145/0.001145, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001186/0.001186, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.617/2.617, allocations: 461.8 MB / 0.7342 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 65.78 kB / 0.8985 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2695, allocations: 157.4 MB / 1.052 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002816/0.2723, allocations: 1.53 MB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2734, allocations: 0.5765 MB / 1.054 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.2735, allocations: 0 / 1.054 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.2735, allocations: 4 kB / 1.054 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.295e-05/0.2736, allocations: 7.938 kB / 1.054 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.2739, allocations: 39.89 kB / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.971e-05/0.274, allocations: 19.94 kB / 1.054 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.824e-05/0.274, allocations: 7.984 kB / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.084e-05/0.2741, allocations: 15.94 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.605e-05/0.2742, allocations: 11.92 kB / 1.054 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.2742, allocations: 4 kB / 1.054 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.2743, allocations: 55.94 kB / 1.054 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.2744, allocations: 8 kB / 1.054 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.2744, allocations: 3.938 kB / 1.054 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.2745, allocations: 63.86 kB / 1.054 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2745, allocations: 3.938 kB / 1.054 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2745, allocations: 0 / 1.054 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.2746, allocations: 0 / 1.054 GB, free: 5.734 MB / 0.8106 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.0004212/0.275, allocations: 347.7 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.275, allocations: 15.97 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.2751, allocations: 38.69 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.2751, allocations: 8.844 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.2752, allocations: 172.3 kB / 1.055 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.2752, allocations: 384 / 1.055 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.2753, allocations: 4.375 kB / 1.055 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.2754, allocations: 45.81 kB / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2754, allocations: 0 / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.2754, allocations: 0 / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2754, allocations: 0 / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.468e-05/0.2755, allocations: 23.98 kB / 1.055 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.2758, allocations: 252.8 kB / 1.055 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.542e-05/0.2759, allocations: 34.56 kB / 1.055 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.276, allocations: 12.92 kB / 1.055 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000768/0.2768, allocations: 481.4 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.2768, allocations: 34.56 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.2768, allocations: 0 / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002296/0.277, allocations: 73.52 kB / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.2771, allocations: 55.53 kB / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/0.2772, allocations: 105.8 kB / 1.056 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.2772, allocations: 33.64 kB / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.2773, allocations: 84.14 kB / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.2773, allocations: 3.906 kB / 1.056 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.2773, allocations: 21.7 kB / 1.056 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2774, allocations: 314.8 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.2775, allocations: 12 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.864e-05/0.2775, allocations: 11.98 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.115e-05/0.2776, allocations: 24.84 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2776, allocations: 3.938 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001226/0.2778, allocations: 57.62 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2778, allocations: 8 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2778, allocations: 0 / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.2778, allocations: 4.094 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.84e-05/0.2779, allocations: 7.984 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2779, allocations: 0 / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.2779, allocations: 4 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.2779, allocations: 4 kB / 1.057 GB, free: 3.156 MB / 0.8106 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 6.988e-05/0.278, allocations: 109.8 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.278, allocations: 7.906 kB / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.2782, allocations: 69.14 kB / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2782, allocations: 0 / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2782, allocations: 0 / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2782, allocations: 0 / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.2784, allocations: 165.6 kB / 1.057 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2784, allocations: 0 / 1.057 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.2785, allocations: 7.984 kB / 1.057 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2785, allocations: 0 / 1.057 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.2785, allocations: 0 / 1.057 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2785, allocations: 0 / 1.057 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2785, allocations: 0 / 1.057 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.2786, allocations: 159.5 kB / 1.057 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.2787, allocations: 85 kB / 1.057 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.2787, allocations: 0 / 1.057 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.219e-05/0.2788, allocations: 4 kB / 1.057 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.2788, allocations: 3.938 kB / 1.057 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.2788, allocations: 0 / 1.057 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.789e-05/0.2789, allocations: 95.3 kB / 1.057 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2789, allocations: 0 / 1.057 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000229/0.2791, allocations: 12 kB / 1.057 GB, free: 2.352 MB / 0.8106 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.0004775/0.2796, allocations: 0.6995 MB / 1.058 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.2797, allocations: 31.89 kB / 1.058 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2797, allocations: 7.938 kB / 1.058 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.435e-05/0.2798, allocations: 8 kB / 1.058 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.28, allocations: 4 kB / 1.058 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.2804, allocations: 166 kB / 1.058 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.2807, allocations: 0.6811 MB / 1.059 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.2807, allocations: 4 kB / 1.059 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.2807, allocations: 11.44 kB / 1.059 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2807, allocations: 0 / 1.059 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01085/0.2916, allocations: 1.448 MB / 1.06 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/0.2919, allocations: 201.8 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.019, allocations: 0 / 1.061 GB, free: 15.03 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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