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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 101.8 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 217 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.282/3.282, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 69.08 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4653, allocations: 179 MB / 1.345 GB, free: 492 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003425/0.4687, allocations: 1.475 MB / 1.347 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005281/0.4693, allocations: 195.5 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.868e-05/0.4693, allocations: 0 / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.4693, allocations: 3.938 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.4694, allocations: 7.922 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.4697, allocations: 31.91 kB / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.4698, allocations: 27.86 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.4699, allocations: 8 kB / 1.347 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.831e-05/0.4699, allocations: 7.984 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.836e-05/0.47, allocations: 15.92 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.47, allocations: 0 / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.4701, allocations: 39.95 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.4701, allocations: 4 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.4701, allocations: 7.938 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.4703, allocations: 44.09 kB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.4703, allocations: 0 / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4703, allocations: 0 / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.4703, allocations: 4 kB / 1.347 GB, free: 14.6 MB / 1.045 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.0004674/0.4708, allocations: 266.3 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.4708, allocations: 16.02 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.566e-05/0.4708, allocations: 192 / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.249e-05/0.4709, allocations: 30.75 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.4709, allocations: 4.891 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.471, allocations: 114.5 kB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.471, allocations: 384 / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.471, allocations: 8.375 kB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.4713, allocations: 57.92 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4713, allocations: 0 / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.4713, allocations: 0 / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4713, allocations: 0 / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.4715, allocations: 35.95 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.4719, allocations: 220 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.4721, allocations: 38.5 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/0.4722, allocations: 24.89 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.917e-05/0.4722, allocations: 4 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.4723, allocations: 30.56 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.4723, allocations: 0 / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004032/0.4727, allocations: 97.47 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.4727, allocations: 51.41 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.4729, allocations: 105.8 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.4729, allocations: 25.7 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.473, allocations: 80.14 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.473, allocations: 11.95 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.473, allocations: 13.84 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.4732, allocations: 314.8 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-05/0.4733, allocations: 23.97 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.585e-05/0.4734, allocations: 11.98 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.4736, allocations: 49.08 kB / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4736, allocations: 0 / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002363/0.4738, allocations: 69.66 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.4738, allocations: 4 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4739, allocations: 0 / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.4739, allocations: 0 / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.474, allocations: 11.98 kB / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.474, allocations: 3.938 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.474, allocations: 12.02 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.4741, allocations: 3.984 kB / 1.349 GB, free: 12.7 MB / 1.045 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.0001236/0.4742, allocations: 114.4 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.4742, allocations: 4 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.4745, allocations: 64.97 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4745, allocations: 4 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.4745, allocations: 4.031 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4745, allocations: 0 / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.4747, allocations: 132.7 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4747, allocations: 0 / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.507e-05/0.4747, allocations: 11.98 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4747, allocations: 0 / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4747, allocations: 4 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4747, allocations: 0 / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4747, allocations: 3.938 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.475, allocations: 167.4 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.475, allocations: 8 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.475, allocations: 3.938 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.4751, allocations: 11.98 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.4752, allocations: 0 / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.4752, allocations: 0 / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.518e-05/0.4752, allocations: 79.28 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4752, allocations: 4.031 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002377/0.4755, allocations: 15.94 kB / 1.349 GB, free: 12 MB / 1.045 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.0007111/0.4762, allocations: 0.7084 MB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.4764, allocations: 36 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4764, allocations: 0 / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.19e-05/0.4765, allocations: 19.97 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.4769, allocations: 4 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.4774, allocations: 155.1 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.4778, allocations: 0.6807 MB / 1.351 GB, free: 10.31 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.685e-05/0.4778, allocations: 3.984 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.4779, allocations: 15.44 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.4779, allocations: 0 / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.5007, allocations: 1.582 MB / 1.353 GB, free: 8.852 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.72, allocations: 5.828 kB / 1.353 GB, free: 8.848 MB / 1.045 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.880232852010522]