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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007741/0.0007741, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.004889/0.004889, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.301/1.301, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.469/2.469, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003362, allocations: 12 kB / 0.8729 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5909/0.5912, allocations: 153.8 MB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001632/0.5929, allocations: 1.18 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008878/0.5938, allocations: 0.5542 MB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.5939, allocations: 8 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.5939, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.594, allocations: 7.922 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.5942, allocations: 39.91 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.5943, allocations: 27.86 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.941e-05/0.5944, allocations: 3.984 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.5944, allocations: 19.92 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.785e-05/0.5945, allocations: 4 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.5945, allocations: 4 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.5946, allocations: 51.89 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.5947, allocations: 11.98 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.5947, allocations: 33.62 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.5948, allocations: 63.86 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5948, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5949, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.5949, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.7794 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.0003707/0.5952, allocations: 353.6 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.5953, allocations: 12.03 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.5953, allocations: 34.75 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.5954, allocations: 0.9375 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.5955, allocations: 172.2 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.5955, allocations: 8.25 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.5955, allocations: 384 / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.5957, allocations: 53.8 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.5957, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.5957, allocations: 4 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5957, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.372e-05/0.5958, allocations: 23.98 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.5961, allocations: 252.9 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.225e-05/0.5962, allocations: 38.5 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.5963, allocations: 16.91 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007808/0.5971, allocations: 0.4897 MB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.5971, allocations: 30.56 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.5971, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002332/0.5974, allocations: 69.67 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.5974, allocations: 55.34 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.946e-05/0.5975, allocations: 117.8 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.5975, allocations: 25.7 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.5975, allocations: 84.12 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.5976, allocations: 7.906 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/0.5976, allocations: 13.84 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.5977, allocations: 318.8 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.607e-05/0.5977, allocations: 15.98 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.5978, allocations: 8 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.558e-05/0.5979, allocations: 32.91 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5979, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000126/0.598, allocations: 65.53 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.598, allocations: 7.984 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.598, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.598, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.5981, allocations: 8 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.5981, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.939e-05/0.5982, allocations: 11.97 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.5982, allocations: 0 / 1.027 GB, free: 11.13 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 6.527e-05/0.5983, allocations: 114.3 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.5983, allocations: 4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.5985, allocations: 65.2 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.5985, allocations: 3.938 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5985, allocations: 4.031 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.5985, allocations: 0 / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.5986, allocations: 173.5 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5986, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.5987, allocations: 7.984 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5987, allocations: 3.938 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.5987, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.5987, allocations: 4 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5987, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.5989, allocations: 167.4 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/0.5989, allocations: 77.11 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.5989, allocations: 0 / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.721e-05/0.599, allocations: 4 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.599, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.5991, allocations: 7.984 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.743e-05/0.5991, allocations: 87.31 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5991, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002297/0.5993, allocations: 16 kB / 1.028 GB, free: 10.3 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.000499/0.5999, allocations: 0.7123 MB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.6, allocations: 27.98 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6, allocations: 0 / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.728e-05/0.6, allocations: 11.94 kB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.6003, allocations: 3.984 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.6007, allocations: 178.3 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.6009, allocations: 0.677 MB / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.359e-05/0.601, allocations: 4 kB / 1.03 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.601, allocations: 15.42 kB / 1.03 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.601, allocations: 0 / 1.03 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6683/1.269, allocations: 1.384 MB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002899/1.27, allocations: 193.8 kB / 1.031 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.909/4.178, allocations: 0 / 1.031 GB, free: 7.055 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