Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SmoothExponential,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_10_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.001177/0.001177, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001633/0.001633, allocations: 195.9 kB / 16.25 MB, free: 6.633 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.281/1.281, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.304/2.304, allocations: 437 MB / 0.7101 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 0.8689 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5394/0.5407, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002263/0.543, allocations: 1.506 MB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003512/0.5434, allocations: 188.2 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.5434, allocations: 0 / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.5435, allocations: 4 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.877e-05/0.5435, allocations: 3.938 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.5438, allocations: 31.97 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.5438, allocations: 31.92 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.291e-05/0.5439, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.5439, allocations: 15.92 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.881e-05/0.544, allocations: 15.92 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.544, allocations: 7.984 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.864e-05/0.5441, allocations: 31.97 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.5441, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.5441, allocations: 7.938 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.649e-05/0.5442, allocations: 47.86 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5442, allocations: 0 / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5442, allocations: 4 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.5442, allocations: 0 / 1.019 GB, free: 0.8594 MB / 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.0003816/0.5446, allocations: 341.7 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.5447, allocations: 15.97 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.5447, allocations: 34.75 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.5447, allocations: 4.844 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.5448, allocations: 168.3 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.5449, allocations: 384 / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.505e-06/0.5449, allocations: 4.359 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.545, allocations: 54.19 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.545, allocations: 3.938 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.5451, allocations: 0 / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.5451, allocations: 0 / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.5452, allocations: 35.95 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.5455, allocations: 249 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.5456, allocations: 46.44 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.949e-05/0.5457, allocations: 24.91 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.257e-05/0.5458, allocations: 81.09 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.5458, allocations: 38.56 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.5458, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003046/0.5461, allocations: 89.55 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.5462, allocations: 51.41 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.814e-05/0.5462, allocations: 97.86 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.5462, allocations: 25.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.5463, allocations: 88.08 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.5463, allocations: 11.89 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.5463, allocations: 17.84 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.5464, allocations: 310.8 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.561e-05/0.5465, allocations: 15.98 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.867e-05/0.5466, allocations: 19.97 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.5467, allocations: 40.89 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5467, allocations: 7.875 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001691/0.5469, allocations: 65.66 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.609e-06/0.5469, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5469, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.5469, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.659e-05/0.547, allocations: 11.92 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.547, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.5471, allocations: 8.031 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.5471, allocations: 0 / 1.021 GB, free: 14.68 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.31e-05/0.5472, allocations: 117.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.5472, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.5474, allocations: 72.77 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.5474, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5474, allocations: 256 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.5474, allocations: 7.969 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.5475, allocations: 161.6 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5476, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.163e-05/0.5476, allocations: 7.984 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.5476, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.5476, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5476, allocations: 3.938 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5476, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.5479, allocations: 167.4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.5479, allocations: 77.11 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.5479, allocations: 3.984 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.548, allocations: 8 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.548, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.548, allocations: 3.984 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.37e-05/0.5481, allocations: 79.28 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5481, allocations: 8.031 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002065/0.5483, allocations: 12 kB / 1.021 GB, free: 13.85 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.0004688/0.5488, allocations: 0.7085 MB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.5489, allocations: 39.98 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.549, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.528e-05/0.549, allocations: 15.98 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.5493, allocations: 11.94 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.5496, allocations: 155.2 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.5498, allocations: 0.6768 MB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.055e-05/0.5499, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.5499, allocations: 11.44 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5499, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/0.6616, allocations: 1.291 MB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.6618, allocations: 209 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.293, allocations: 2.391 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches