Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001657/0.001657, allocations: 114.3 kB / 18.94 MB, free: 2.805 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.002058/0.002058, allocations: 219.3 kB / 22.26 MB, free: 5.195 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.696/1.696, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.301/3.301, allocations: 0.49 GB / 0.7951 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_12_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.002071/0.002071, allocations: 68.22 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4164, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.00278/0.4192, allocations: 1.48 MB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004663/0.4197, allocations: 187.4 kB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.4197, allocations: 0 / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.4197, allocations: 0 / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.662e-05/0.4198, allocations: 7.922 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.4201, allocations: 35.91 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.483e-05/0.4201, allocations: 31.86 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.4202, allocations: 0 / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.252e-05/0.4203, allocations: 8 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.865e-05/0.4203, allocations: 23.91 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.4204, allocations: 4 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.917e-05/0.4205, allocations: 31.97 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.4205, allocations: 4 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.4205, allocations: 11.92 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.4206, allocations: 44.09 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4206, allocations: 0 / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4206, allocations: 0 / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.4206, allocations: 4 kB / 1.328 GB, free: 68 kB / 1.014 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.0005263/0.4212, allocations: 271.7 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4212, allocations: 8.031 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.4213, allocations: 30.75 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.4213, allocations: 0.9375 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.4214, allocations: 122.4 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.4214, allocations: 384 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.4214, allocations: 4.375 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.4216, allocations: 42.25 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.4216, allocations: 15.91 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.4216, allocations: 4 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.4216, allocations: 0 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.4218, allocations: 31.97 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.4221, allocations: 224 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.4223, allocations: 38.5 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.381e-05/0.4224, allocations: 20.91 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.049e-05/0.4224, allocations: 15.92 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.4225, allocations: 30.56 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4225, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004034/0.4229, allocations: 89.62 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.4229, allocations: 55.39 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.423, allocations: 97.86 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.4231, allocations: 29.7 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.4231, allocations: 80.14 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.4231, allocations: 11.94 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.4232, allocations: 13.72 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.4233, allocations: 310.8 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-05/0.4234, allocations: 20.02 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.4235, allocations: 20.22 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.4236, allocations: 36.83 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.4236, allocations: 7.938 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001999/0.4238, allocations: 77.61 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4239, allocations: 4 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4239, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4239, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.424, allocations: 8 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.424, allocations: 3.984 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.424, allocations: 8 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.424, allocations: 0 / 1.329 GB, free: 14.17 MB / 1.029 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 9.212e-05/0.4241, allocations: 116.3 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.4241, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.4244, allocations: 72.95 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.4244, allocations: 7.938 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.4244, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.4244, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.4245, allocations: 128.7 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4245, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.4246, allocations: 16.02 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4246, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.4246, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4246, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4246, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.4249, allocations: 167.4 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.4249, allocations: 12.03 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.4249, allocations: 3.938 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.425, allocations: 7.984 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.425, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.425, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.891e-05/0.4251, allocations: 91.2 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4251, allocations: 3.938 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002325/0.4253, allocations: 15.94 kB / 1.33 GB, free: 13.46 MB / 1.029 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.0006469/0.4259, allocations: 0.6968 MB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.4261, allocations: 35.95 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4261, allocations: 4.094 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.4263, allocations: 23.92 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.4266, allocations: 5.875 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.427, allocations: 159 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.4274, allocations: 0.6729 MB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.356e-05/0.4274, allocations: 3.984 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.4274, allocations: 11.5 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4274, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.4597, allocations: 1.555 MB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.22, allocations: 1.016 kB / 1.333 GB, free: 10.34 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.617795671998465]