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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001719/0.001719, allocations: 103.4 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.002299/0.002299, allocations: 198.5 kB / 16.26 MB, free: 6.625 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.552/3.552, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 64.75 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4169, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.004197/0.4211, allocations: 1.518 MB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006443/0.4218, allocations: 199.4 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.4219, allocations: 0 / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.962e-05/0.4219, allocations: 0 / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.422, allocations: 7.938 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.4225, allocations: 23.98 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.84e-05/0.4226, allocations: 27.86 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.4227, allocations: 11.98 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.4228, allocations: 11.98 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.394e-05/0.4228, allocations: 11.94 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.4229, allocations: 0 / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.423, allocations: 39.95 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.4231, allocations: 0 / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.4231, allocations: 7.938 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.4233, allocations: 47.86 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4233, allocations: 0 / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.182e-06/0.4233, allocations: 0 / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.4233, allocations: 7.938 kB / 1.054 GB, free: 6.691 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.0007089/0.424, allocations: 349.2 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.894e-05/0.4241, allocations: 12.62 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/0.4242, allocations: 30.75 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.4242, allocations: 4.938 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.4244, allocations: 160.4 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.4245, allocations: 8.375 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.4245, allocations: 384 / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.4248, allocations: 54.23 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4248, allocations: 3.938 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4248, allocations: 0 / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4248, allocations: 0 / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.4251, allocations: 39.89 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.4256, allocations: 240.9 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.4258, allocations: 46.53 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.426, allocations: 24.91 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.4261, allocations: 77.11 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.4262, allocations: 38.55 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.4262, allocations: 0 / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0005318/0.4267, allocations: 89.5 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.4268, allocations: 51.41 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.4269, allocations: 105.8 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.427, allocations: 29.64 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.427, allocations: 84.14 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.4271, allocations: 7.906 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.4272, allocations: 21.83 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.4274, allocations: 310.8 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.4275, allocations: 15.98 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.4276, allocations: 15.98 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.4279, allocations: 40.81 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4279, allocations: 11.94 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003203/0.4283, allocations: 65.66 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.4283, allocations: 4 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4283, allocations: 4 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4284, allocations: 0 / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.4285, allocations: 4 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4285, allocations: 0 / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.683e-05/0.4286, allocations: 12.02 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.4286, allocations: 0 / 1.056 GB, free: 4.516 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 0.0001561/0.4288, allocations: 121.7 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.4288, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/0.4292, allocations: 76.7 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.4292, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.4293, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4293, allocations: 4.031 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.4295, allocations: 157.6 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4296, allocations: 0 / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.951e-05/0.4297, allocations: 11.98 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4297, allocations: 0 / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4297, allocations: 4.25 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4297, allocations: 4 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.4297, allocations: 4 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.4301, allocations: 175.3 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.4302, allocations: 77.11 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.4302, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.4303, allocations: 11.98 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.4304, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.4304, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.862e-05/0.4305, allocations: 87.2 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4305, allocations: 4.031 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004542/0.431, allocations: 12 kB / 1.057 GB, free: 3.684 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.0008437/0.4318, allocations: 0.7111 MB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003314/0.4322, allocations: 43.92 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4322, allocations: 0 / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.4324, allocations: 15.98 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.4329, allocations: 11.81 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.4335, allocations: 151.2 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.4339, allocations: 0.6768 MB / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.598e-05/0.4339, allocations: 0 / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.434, allocations: 15.42 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of SimCode: time 3.71e-07/0.434, allocations: 0 / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.4525, allocations: 1.288 MB / 1.06 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003289/0.4529, allocations: 203.1 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.898/3.351, allocations: 64 / 1.06 GB, free: 0.5469 MB / 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