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.007994/0.007993, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.002094/0.002094, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.522/2.522, allocations: 437.1 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 64.12 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8947/0.8961, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002654/0.8988, allocations: 1.449 MB / 1.168 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.8999, allocations: 0.5603 MB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.9, allocations: 4 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.9, allocations: 3.938 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.9001, allocations: 3.938 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.9005, allocations: 55.81 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.775e-05/0.9006, allocations: 23.88 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.9008, allocations: 23.89 kB / 1.168 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.9009, allocations: 15.94 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.901, allocations: 15.92 kB / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.901, allocations: 0 / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.9012, allocations: 55.95 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.9012, allocations: 7.922 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.9012, allocations: 11.94 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.9014, allocations: 63.86 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.9015, allocations: 0 / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9015, allocations: 4 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.9015, allocations: 0 / 1.168 GB, free: 1.445 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.0006727/0.9022, allocations: 345.7 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.728e-05/0.9022, allocations: 12.62 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.096e-05/0.9023, allocations: 30.75 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.9023, allocations: 8.844 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.9025, allocations: 168.4 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.9025, allocations: 384 / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.9025, allocations: 384 / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.9027, allocations: 53.75 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.9027, allocations: 0 / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.9027, allocations: 4 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.9028, allocations: 3.938 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.99e-05/0.9028, allocations: 19.98 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.9032, allocations: 252.8 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.165e-05/0.9033, allocations: 38.56 kB / 1.169 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.9034, allocations: 16.86 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008615/0.9042, allocations: 473.4 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.9043, allocations: 38.56 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.9043, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0002708/0.9046, allocations: 61.67 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.9046, allocations: 51.41 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.9047, allocations: 105.8 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.9048, allocations: 29.7 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.9048, allocations: 84.14 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.9049, allocations: 8.016 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.9049, allocations: 21.72 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.905, allocations: 322.7 kB / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.9051, allocations: 8 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.373e-05/0.9051, allocations: 11.98 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.409e-05/0.9052, allocations: 24.84 kB / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9052, allocations: 0 / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001115/0.9053, allocations: 61.66 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.9054, allocations: 7.938 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.9054, allocations: 4 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.9054, allocations: 0 / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.9055, allocations: 7.984 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.9055, allocations: 3.938 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.9055, allocations: 3.938 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.9055, allocations: 4 kB / 1.171 GB, free: 14.88 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 9.51e-05/0.9056, allocations: 113.8 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.9057, allocations: 4 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.9059, allocations: 65.2 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.9059, allocations: 0 / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9059, allocations: 0 / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.9059, allocations: 0 / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.9062, allocations: 165.6 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.9062, allocations: 0 / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.9062, allocations: 11.92 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.9062, allocations: 4.031 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.9063, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9063, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9063, allocations: 3.938 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.9065, allocations: 155.4 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.9065, allocations: 81.09 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.9065, allocations: 0 / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.967e-05/0.9066, allocations: 8.031 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.9066, allocations: 3.984 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.9066, allocations: 0 / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.892e-05/0.9067, allocations: 91.27 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9067, allocations: 0 / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002376/0.907, allocations: 16 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.0006375/0.9076, allocations: 0.7046 MB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.9078, allocations: 23.97 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9078, allocations: 0 / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.338e-05/0.9078, allocations: 8 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.9081, allocations: 4 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.0004934/0.9086, allocations: 168.2 kB / 1.172 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.9089, allocations: 0.6768 MB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.463e-05/0.9089, allocations: 0 / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.909, allocations: 15.44 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/0.909, allocations: 3.938 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.9267, allocations: 1.615 MB / 1.174 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.631/8.558, allocations: 0.8906 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 & /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