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.001836/0.001836, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002115/0.002115, allocations: 217.3 kB / 22.25 MB, free: 5.105 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.836 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.305/3.305, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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.003207/0.003207, allocations: 74.31 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4246, allocations: 176.1 MB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.004444/0.4291, allocations: 1.471 MB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007119/0.4298, allocations: 179.5 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.226e-05/0.4298, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.4298, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.938e-05/0.4299, allocations: 3.938 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.4303, allocations: 39.89 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.4304, allocations: 27.92 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.4305, allocations: 0 / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.016e-05/0.4306, allocations: 15.92 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.544e-05/0.4306, allocations: 11.94 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.4306, allocations: 8 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.4308, allocations: 39.94 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.4308, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.4308, allocations: 7.938 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.431, allocations: 36.17 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.431, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.431, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.431, allocations: 4 kB / 1.328 GB, free: 15.68 MB / 1.029 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.0006817/0.4317, allocations: 266.3 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.4318, allocations: 15.97 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.639e-05/0.4318, allocations: 34.73 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.4319, allocations: 8.875 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.4321, allocations: 118.4 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.4321, allocations: 384 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.4321, allocations: 4.375 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.4324, allocations: 50.23 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.4324, allocations: 3.938 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4324, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.4324, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.4327, allocations: 43.95 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.4332, allocations: 212 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.4334, allocations: 42.48 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.4336, allocations: 28.84 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.361e-05/0.4337, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/0.4337, allocations: 34.56 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.4337, allocations: 0 / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0006258/0.4344, allocations: 89.58 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.4344, allocations: 51.41 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.4346, allocations: 101.8 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.4346, allocations: 29.7 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.4346, allocations: 80.14 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.4347, allocations: 7.953 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.4347, allocations: 13.72 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.4349, allocations: 315 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.435, allocations: 19.98 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.73e-05/0.4351, allocations: 15.98 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.4354, allocations: 40.81 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.4354, allocations: 3.938 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002981/0.4357, allocations: 77.62 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4357, allocations: 4 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4357, allocations: 0 / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4357, allocations: 0 / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.4358, allocations: 11.98 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4358, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.671e-05/0.4359, allocations: 11.92 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.4359, allocations: 0 / 1.329 GB, free: 13.79 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 0.0001114/0.436, allocations: 110.3 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.4361, allocations: 8.031 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.4364, allocations: 72.91 kB / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.4364, allocations: 4 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4364, allocations: 0 / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4364, allocations: 3.984 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.4367, allocations: 128.7 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4367, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.4368, allocations: 11.98 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.4368, allocations: 4.031 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4368, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4368, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4368, allocations: 256 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.4372, allocations: 167.4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.4372, allocations: 8 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.4372, allocations: 4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.4373, allocations: 7.984 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.4374, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.4374, allocations: 7.969 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.303e-05/0.4375, allocations: 95.2 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4375, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003981/0.4379, allocations: 11.94 kB / 1.33 GB, free: 13.07 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.0009422/0.4388, allocations: 0.6968 MB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002783/0.4391, allocations: 39.98 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4391, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.4392, allocations: 23.92 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.4396, allocations: 2.031 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.4403, allocations: 155 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.608e-05/0.4404, allocations: 59.36 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.4404, allocations: 3.984 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.4404, allocations: 15.5 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4404, allocations: 4 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.4698, allocations: 1.998 MB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.51, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB " [Timeout remaining time 288] (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.630477330996655]