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.001241/0.001241, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001146/0.001146, allocations: 194.1 kB / 16.14 MB, free: 6.645 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.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.389/2.389, allocations: 437 MB / 0.7099 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 63.89 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5708/0.5725, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002494/0.5751, allocations: 1.537 MB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008195/0.5759, allocations: 0.5657 MB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.5759, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.576, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.216e-05/0.576, allocations: 11.92 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.5763, allocations: 51.83 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.764e-05/0.5763, allocations: 19.92 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.356e-05/0.5764, allocations: 8 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.968e-05/0.5765, allocations: 15.92 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.227e-05/0.5765, allocations: 8 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.5765, allocations: 3.938 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.5766, allocations: 51.94 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.5766, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.5767, allocations: 19.92 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.5768, allocations: 63.86 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5768, allocations: 0 / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of FrontEnd: time 6.11e-07/0.5768, allocations: 0 / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.5768, allocations: 0 / 1.019 GB, free: 416 kB / 0.7637 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.000332/0.5772, allocations: 353.6 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.5772, allocations: 12.03 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.5772, allocations: 30.75 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.193e-05/0.5773, allocations: 0.9375 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.741e-05/0.5774, allocations: 180.2 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.5774, allocations: 384 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.5774, allocations: 4.375 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.5775, allocations: 45.8 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-06/0.5775, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.5775, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-06/0.5775, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.118e-05/0.5776, allocations: 19.98 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.5779, allocations: 256.9 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.698e-05/0.578, allocations: 34.56 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.5781, allocations: 16.91 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007462/0.5788, allocations: 477.4 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.5788, allocations: 30.56 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.304e-06/0.5788, allocations: 3.984 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002099/0.5791, allocations: 73.52 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.5791, allocations: 51.41 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.441e-05/0.5792, allocations: 110 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.5792, allocations: 25.7 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.5792, allocations: 92.12 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.5792, allocations: 3.906 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.5793, allocations: 17.72 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.173e-05/0.5794, allocations: 314.8 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.176e-05/0.5794, allocations: 7.984 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.468e-05/0.5795, allocations: 12 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.321e-05/0.5795, allocations: 28.91 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5795, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001122/0.5797, allocations: 57.61 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5797, allocations: 8 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.5797, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.5797, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.5798, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.5798, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.5798, allocations: 7.969 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.5798, allocations: 11.98 kB / 1.021 GB, free: 13.84 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.042e-05/0.5799, allocations: 114.3 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.5799, allocations: 7.906 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.5801, allocations: 69.08 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5801, allocations: 0 / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.5801, allocations: 0 / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.5801, allocations: 4.031 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.5803, allocations: 165.6 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5803, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.5803, allocations: 7.938 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5803, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.5803, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.5803, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5803, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.5805, allocations: 159.5 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.5805, allocations: 84.95 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.5806, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.5806, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.5807, allocations: 3.984 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.5807, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.5807, allocations: 87.59 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5807, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002271/0.5809, allocations: 19.98 kB / 1.022 GB, free: 13.02 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.0004072/0.5814, allocations: 0.6969 MB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.5815, allocations: 23.92 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.5815, allocations: 4.094 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.5815, allocations: 15.98 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.5817, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.5821, allocations: 158 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.5823, allocations: 0.677 MB / 1.023 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.563e-05/0.5823, allocations: 12.05 kB / 1.023 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.5824, allocations: 7.438 kB / 1.023 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5824, allocations: 0 / 1.023 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2993/0.8817, allocations: 1.446 MB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003218/0.8821, allocations: 208.3 kB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.536, allocations: 0 / 1.025 GB, free: 9.703 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