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.007718/0.007718, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001587/0.001587, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.814/2.814, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 60.12 kB / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3288, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002525/0.3314, allocations: 1.437 MB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004074/0.3318, allocations: 187.5 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.3318, allocations: 0 / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.3319, allocations: 3.938 kB / 1.209 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.843e-05/0.3319, allocations: 7.938 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.3322, allocations: 39.89 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.871e-05/0.3323, allocations: 19.92 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.3324, allocations: 11.98 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.243e-05/0.3324, allocations: 11.92 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.143e-05/0.3325, allocations: 15.92 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.3325, allocations: 0 / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.438e-05/0.3326, allocations: 35.97 kB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.3326, allocations: 11.98 kB / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.3326, allocations: 7.938 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.3327, allocations: 39.88 kB / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.3327, allocations: 0 / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3328, allocations: 0 / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3328, allocations: 0 / 1.209 GB, free: 8.32 MB / 0.9669 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.0004093/0.3332, allocations: 348.4 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3332, allocations: 8.625 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.3333, allocations: 38.75 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.3333, allocations: 4.938 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.3334, allocations: 168.3 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3334, allocations: 4.375 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.3334, allocations: 384 / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.3336, allocations: 54.17 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3336, allocations: 3.938 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.3336, allocations: 0 / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.3336, allocations: 0 / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.3338, allocations: 39.95 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.3341, allocations: 249 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3343, allocations: 42.44 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.453e-05/0.3343, allocations: 24.91 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.629e-05/0.3344, allocations: 81.09 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.3345, allocations: 38.5 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3345, allocations: 4 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003593/0.3348, allocations: 73.64 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.3349, allocations: 55.41 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.335, allocations: 102 kB / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.335, allocations: 25.7 kB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.335, allocations: 88.14 kB / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.3351, allocations: 7.891 kB / 1.21 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.3351, allocations: 9.719 kB / 1.21 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.3352, allocations: 326.7 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.3353, allocations: 11.98 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.24e-05/0.3354, allocations: 23.97 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.3355, allocations: 36.83 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3355, allocations: 3.938 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.3357, allocations: 65.66 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3358, allocations: 5.5 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3358, allocations: 4 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3358, allocations: 4 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.3359, allocations: 4 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3359, allocations: 7.922 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.3359, allocations: 7.906 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.336, allocations: 0 / 1.211 GB, free: 6.137 MB / 0.9669 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.565e-05/0.336, allocations: 121.7 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.3361, allocations: 0 / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.3363, allocations: 80.77 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3363, allocations: 0 / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3363, allocations: 0 / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3363, allocations: 0 / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.3365, allocations: 157.6 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3365, allocations: 256 / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.3365, allocations: 15.98 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3365, allocations: 0 / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.3365, allocations: 4.031 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3366, allocations: 0 / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3366, allocations: 3.938 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.3368, allocations: 163.5 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.3368, allocations: 85.02 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.3368, allocations: 7.969 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.3369, allocations: 8.031 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.337, allocations: 0 / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.337, allocations: 0 / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.658e-05/0.337, allocations: 87.27 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.337, allocations: 3.938 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002344/0.3373, allocations: 12 kB / 1.212 GB, free: 5.305 MB / 0.9669 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.0004918/0.3378, allocations: 0.7162 MB / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.338, allocations: 35.95 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.338, allocations: 0 / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.552e-05/0.3381, allocations: 24.08 kB / 1.212 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3383, allocations: 0 / 1.212 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.3387, allocations: 143.1 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.3389, allocations: 0.6729 MB / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.435e-05/0.339, allocations: 3.984 kB / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.339, allocations: 15.44 kB / 1.213 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.339, allocations: 0 / 1.213 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.3557, allocations: 1.457 MB / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/8.081, allocations: 11.05 kB / 1.215 GB, free: 2.23 MB / 0.9669 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