Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",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.002072/0.002072, 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.002355/0.002355, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 70.02 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2709, allocations: 157.4 MB / 1.052 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002797/0.2737, allocations: 1.508 MB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004335/0.2742, allocations: 203.4 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.2742, allocations: 0 / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.2743, allocations: 0 / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.2744, allocations: 4 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.2746, allocations: 27.91 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.453e-05/0.2746, allocations: 23.92 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.943e-05/0.2747, allocations: 11.92 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.2748, allocations: 4 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.2748, allocations: 15.92 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.2748, allocations: 0 / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.813e-05/0.2749, allocations: 31.97 kB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.2749, allocations: 4 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.275, allocations: 15.92 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.2751, allocations: 43.88 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2751, allocations: 0 / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2751, allocations: 0 / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.2751, allocations: 0 / 1.054 GB, free: 6.352 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.0004075/0.2755, allocations: 343.8 kB / 1.054 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2756, allocations: 11.97 kB / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.822e-05/0.2756, allocations: 30.75 kB / 1.054 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.2756, allocations: 8.844 kB / 1.054 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.567e-05/0.2757, allocations: 168.4 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.2758, allocations: 384 / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.2758, allocations: 4.375 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.2759, allocations: 50.19 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.276, allocations: 7.922 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.276, allocations: 7.938 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.276, allocations: 0 / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.2762, allocations: 31.97 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.2765, allocations: 249 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.2766, allocations: 42.44 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.661e-05/0.2767, allocations: 20.91 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-05/0.2768, allocations: 85.09 kB / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.2769, allocations: 34.56 kB / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2769, allocations: 0 / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003565/0.2772, allocations: 85.55 kB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.2773, allocations: 51.41 kB / 1.055 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.2773, allocations: 101.9 kB / 1.055 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.2774, allocations: 25.83 kB / 1.055 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.2774, allocations: 88.12 kB / 1.055 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.2774, allocations: 7.906 kB / 1.055 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.2775, allocations: 17.66 kB / 1.055 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2776, allocations: 314.8 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.621e-05/0.2777, allocations: 19.92 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.309e-05/0.2778, allocations: 15.97 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.2779, allocations: 40.89 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2779, allocations: 4.188 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001929/0.2781, allocations: 69.66 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2781, allocations: 5.562 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2782, allocations: 4 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.2782, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.2783, allocations: 16.02 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2783, allocations: 7.922 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.2783, allocations: 4 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.2783, allocations: 0 / 1.056 GB, free: 4.164 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.937e-05/0.2784, allocations: 121.7 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.2784, allocations: 0 / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.2787, allocations: 76.78 kB / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2787, allocations: 0 / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2787, allocations: 0 / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2787, allocations: 0 / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.2789, allocations: 161.6 kB / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2789, allocations: 3.984 kB / 1.056 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.2789, allocations: 8 kB / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.2789, allocations: 0 / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.2789, allocations: 0 / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.279, allocations: 0 / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.279, allocations: 11.95 kB / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.2792, allocations: 171.3 kB / 1.056 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.2792, allocations: 81.09 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.2793, allocations: 4 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.2793, allocations: 4 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.2794, allocations: 8.016 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.2794, allocations: 0 / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.752e-05/0.2794, allocations: 83.28 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2794, allocations: 0 / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002287/0.2797, allocations: 12 kB / 1.057 GB, free: 3.336 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.0005095/0.2802, allocations: 0.7045 MB / 1.057 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.2804, allocations: 39.91 kB / 1.057 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2804, allocations: 0 / 1.057 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.547e-05/0.2805, allocations: 19.98 kB / 1.057 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.2808, allocations: 4.141 kB / 1.057 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.2812, allocations: 148.8 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.2814, allocations: 0.677 MB / 1.058 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.499e-05/0.2814, allocations: 0 / 1.058 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.2814, allocations: 15.44 kB / 1.058 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.2815, allocations: 0 / 1.058 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/0.2919, allocations: 1.253 MB / 1.059 GB, free: 488 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.2921, allocations: 210.8 kB / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.036, allocations: 0 / 1.06 GB, free: 220 kB / 0.8106 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches