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.001298/0.001298, allocations: 113 kB / 18.94 MB, free: 2.934 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.002159/0.002159, allocations: 209.8 kB / 22.25 MB, free: 5.086 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 8.02 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.333/3.333, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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="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"}) [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.00226/0.00226, allocations: 67.83 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4131, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.00324/0.4163, allocations: 1.479 MB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005089/0.4169, allocations: 191.4 kB / 1.354 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.4169, allocations: 0 / 1.354 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.4169, allocations: 3.938 kB / 1.354 GB, free: 6.754 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.795e-05/0.417, allocations: 7.984 kB / 1.354 GB, free: 6.746 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.4173, allocations: 31.91 kB / 1.355 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.221e-05/0.4174, allocations: 27.92 kB / 1.355 GB, free: 6.688 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.4175, allocations: 3.938 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.4176, allocations: 11.98 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.529e-05/0.4176, allocations: 19.91 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.4176, allocations: 4 kB / 1.355 GB, free: 6.648 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.4177, allocations: 31.97 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.4178, allocations: 0 / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.4178, allocations: 11.94 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.418, allocations: 48.03 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.418, allocations: 3.984 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.654e-06/0.418, allocations: 0 / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.418, allocations: 4 kB / 1.355 GB, free: 6.551 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.0005396/0.4185, allocations: 272.2 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4186, allocations: 8.031 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.4186, allocations: 30.75 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.4186, allocations: 4.891 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.4188, allocations: 110.5 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.4188, allocations: 4.375 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.4188, allocations: 4.375 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.419, allocations: 46.23 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.419, allocations: 7.938 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.419, allocations: 0 / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.419, allocations: 0 / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.4192, allocations: 39.89 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.4196, allocations: 220.1 kB / 1.355 GB, free: 5.707 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.4197, allocations: 42.48 kB / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.4198, allocations: 16.91 kB / 1.355 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.272e-05/0.4199, allocations: 4 kB / 1.355 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.4199, allocations: 38.56 kB / 1.355 GB, free: 5.586 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4199, allocations: 3.938 kB / 1.355 GB, free: 5.582 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003799/0.4203, allocations: 85.53 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.4204, allocations: 51.41 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.4205, allocations: 105.8 kB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.4205, allocations: 25.7 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.4206, allocations: 88.27 kB / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.4206, allocations: 11.89 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.4206, allocations: 9.719 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4207, allocations: 318.8 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.035e-05/0.4208, allocations: 15.98 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.079e-05/0.4209, allocations: 15.98 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.4211, allocations: 44.83 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4211, allocations: 3.938 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001953/0.4213, allocations: 65.91 kB / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4213, allocations: 4 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4213, allocations: 0 / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4213, allocations: 0 / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/0.4214, allocations: 15.98 kB / 1.356 GB, free: 4.676 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4214, allocations: 4.031 kB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.4215, allocations: 7.984 kB / 1.356 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.4215, allocations: 0 / 1.356 GB, free: 4.664 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 9.53e-05/0.4216, allocations: 117.7 kB / 1.356 GB, free: 4.539 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.4216, allocations: 4 kB / 1.356 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.4218, allocations: 72.91 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4218, allocations: 8.031 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4218, allocations: 0 / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4218, allocations: 0 / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.422, allocations: 132.7 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.422, allocations: 0 / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.4221, allocations: 11.98 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4221, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.4221, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4221, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4221, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.4224, allocations: 179.3 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.4224, allocations: 8 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.4224, allocations: 0 / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.4225, allocations: 7.984 kB / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.4225, allocations: 0 / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.4225, allocations: 0 / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.965e-05/0.4225, allocations: 87.31 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4225, allocations: 0 / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002429/0.4228, allocations: 27.8 kB / 1.357 GB, free: 3.949 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.0007579/0.4235, allocations: 0.6968 MB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.4238, allocations: 39.89 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4238, allocations: 0 / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.689e-05/0.4239, allocations: 19.98 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.4243, allocations: 5.5 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.4249, allocations: 151.2 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.4252, allocations: 0.6768 MB / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.4253, allocations: 7.984 kB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.4253, allocations: 11.44 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of SimCode: time 6.42e-07/0.4253, allocations: 0 / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.4573, allocations: 1.547 MB / 1.36 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.23, allocations: 17.39 kB / 1.36 GB, free: 0.8125 MB / 1.045 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.45137085999977]