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.006972/0.006972, allocations: 101 kB / 15.73 MB, free: 6.059 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.001288/0.001288, allocations: 190.9 kB / 16.67 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.587/2.587, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001975, allocations: 63.89 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7459/0.7479, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002634/0.7506, allocations: 1.459 MB / 1.168 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009896/0.7516, allocations: 0.5642 MB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.7516, allocations: 0 / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.7516, allocations: 0 / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.881e-05/0.7517, allocations: 11.94 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.752, allocations: 55.75 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.339e-05/0.7521, allocations: 27.92 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.162e-05/0.7522, allocations: 7.938 kB / 1.168 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.7523, allocations: 19.92 kB / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.7523, allocations: 11.98 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.7523, allocations: 3.938 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.7525, allocations: 55.95 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.7525, allocations: 0 / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.7525, allocations: 19.91 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.7527, allocations: 62.53 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.7527, allocations: 0 / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7527, allocations: 0 / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.7527, allocations: 4 kB / 1.168 GB, free: 1.457 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.0004684/0.7532, allocations: 348.2 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.7532, allocations: 12.86 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.7533, allocations: 38.73 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.271e-05/0.7533, allocations: 4.938 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.7535, allocations: 180.2 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.7535, allocations: 384 / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.333e-06/0.7535, allocations: 384 / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.7536, allocations: 45.81 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.7536, allocations: 0 / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.7537, allocations: 0 / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.7537, allocations: 0 / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.259e-05/0.7538, allocations: 23.97 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.7541, allocations: 252.9 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.337e-05/0.7542, allocations: 34.5 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.7543, allocations: 16.92 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008852/0.7552, allocations: 477.4 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.7552, allocations: 30.56 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.7552, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0002575/0.7555, allocations: 69.56 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.7555, allocations: 55.34 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.43e-05/0.7556, allocations: 114 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.7557, allocations: 25.7 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.7557, allocations: 84.14 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.7557, allocations: 11.94 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.7558, allocations: 13.72 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7559, allocations: 318.8 kB / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.877e-05/0.756, allocations: 15.98 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.794e-05/0.756, allocations: 8 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.7562, allocations: 28.84 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7562, allocations: 0 / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001304/0.7563, allocations: 57.62 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.7563, allocations: 4 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.7563, allocations: 3.984 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.7564, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.378e-05/0.7564, allocations: 8 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.7564, allocations: 4.094 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.7565, allocations: 0 / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.7565, allocations: 3.938 kB / 1.171 GB, free: 14.89 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 8.783e-05/0.7566, allocations: 117.8 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.7566, allocations: 3.953 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.7568, allocations: 61.2 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.7568, allocations: 4 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.7568, allocations: 4.031 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.7568, allocations: 3.984 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.757, allocations: 161.6 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.757, allocations: 3.938 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.7571, allocations: 7.984 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7571, allocations: 4 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.7571, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7571, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7571, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.7573, allocations: 155.5 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.7574, allocations: 85.06 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.7574, allocations: 0 / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.011e-05/0.7575, allocations: 0 / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.7575, allocations: 4 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.7575, allocations: 3.984 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.485e-05/0.7576, allocations: 83.28 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7576, allocations: 4 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002447/0.7578, allocations: 19.97 kB / 1.171 GB, free: 14.07 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.0005856/0.7584, allocations: 0.7005 MB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.7586, allocations: 28.02 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7586, allocations: 4.062 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.831e-05/0.7587, allocations: 11.94 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.7589, allocations: 3.984 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.7593, allocations: 160.1 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.7597, allocations: 0.6768 MB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.7597, allocations: 8 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.7598, allocations: 19.48 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.7598, allocations: 0 / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.7821, allocations: 1.602 MB / 1.174 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.732, allocations: 7.812 kB / 1.174 GB, free: 10.84 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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