Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001459/0.001459, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001589/0.001589, allocations: 218.8 kB / 22.26 MB, free: 5.121 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.974/2.974, allocations: 476.8 MB / 0.7707 GB, free: 4.215 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",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.00209/0.00209, allocations: 66.61 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4067, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003243/0.41, allocations: 1.469 MB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005333/0.4105, allocations: 195.5 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.4105, allocations: 0 / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.4106, allocations: 7.875 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.653e-05/0.4106, allocations: 7.875 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.411, allocations: 35.91 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.977e-05/0.411, allocations: 31.92 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.4112, allocations: 3.984 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.181e-05/0.4112, allocations: 8 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.4113, allocations: 15.92 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.4113, allocations: 4 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.4114, allocations: 31.97 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.4114, allocations: 0 / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.4114, allocations: 11.92 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.4116, allocations: 43.39 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4116, allocations: 0 / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4116, allocations: 0 / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.4116, allocations: 4 kB / 1.285 GB, free: 9.789 MB / 0.9825 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.0005077/0.4121, allocations: 267 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.4122, allocations: 12.03 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.4122, allocations: 34.75 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.4123, allocations: 0.9375 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.4124, allocations: 118.4 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.4124, allocations: 384 / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.4124, allocations: 384 / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.4126, allocations: 58.17 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4126, allocations: 3.938 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4126, allocations: 4 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4126, allocations: 0 / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.4128, allocations: 27.97 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.4132, allocations: 224 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.4133, allocations: 50.38 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.747e-05/0.4134, allocations: 16.91 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.892e-05/0.4135, allocations: 7.984 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.4135, allocations: 38.56 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4135, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003628/0.4138, allocations: 81.64 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.4139, allocations: 51.41 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.61e-05/0.414, allocations: 101.9 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.414, allocations: 29.64 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.4141, allocations: 84.14 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.4141, allocations: 7.938 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.4141, allocations: 13.72 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.4143, allocations: 319 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.4143, allocations: 15.98 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/0.4144, allocations: 23.91 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.4146, allocations: 36.83 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.4146, allocations: 4 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002147/0.4148, allocations: 73.61 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4148, allocations: 4 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4148, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4148, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.4149, allocations: 19.91 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4149, allocations: 0 / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.415, allocations: 4 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.415, allocations: 4.031 kB / 1.287 GB, free: 7.891 MB / 0.9825 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 8.889e-05/0.4151, allocations: 113.8 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.4151, allocations: 4 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.4153, allocations: 72.95 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4153, allocations: 0 / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4153, allocations: 4 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4153, allocations: 0 / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.4155, allocations: 132.7 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4155, allocations: 0 / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.4156, allocations: 11.98 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4156, allocations: 0 / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.4156, allocations: 7.875 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4156, allocations: 0 / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4156, allocations: 0 / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.4158, allocations: 171.4 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.4159, allocations: 4 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.4159, allocations: 256 / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.4159, allocations: 7.984 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.416, allocations: 4 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.416, allocations: 3.984 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.879e-05/0.416, allocations: 83.28 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.416, allocations: 0 / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002363/0.4163, allocations: 19.97 kB / 1.287 GB, free: 7.191 MB / 0.9825 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.0006744/0.4169, allocations: 0.7006 MB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.4172, allocations: 39.98 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4172, allocations: 0 / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.482e-05/0.4173, allocations: 19.98 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.4176, allocations: 0 / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.4181, allocations: 148.8 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.4184, allocations: 0.6768 MB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.556e-05/0.4184, allocations: 8.109 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.4185, allocations: 11.44 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.4185, allocations: 0 / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.4492, allocations: 1.547 MB / 1.291 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.6, allocations: 13.66 kB / 1.291 GB, free: 4.066 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.445545281050727]