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.001495/0.001495, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001592/0.001592, allocations: 211.7 kB / 22.24 MB, free: 5.262 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.587/1.587, allocations: 230.6 MB / 256 MB, free: 7.785 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.369/3.369, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.002227/0.002227, allocations: 69.14 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4449/0.4472, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003508/0.4507, allocations: 1.464 MB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005515/0.4512, allocations: 187.4 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.4513, allocations: 0 / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.4513, allocations: 0 / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.4514, allocations: 3.938 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.4517, allocations: 39.89 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.335e-05/0.4518, allocations: 23.92 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.4519, allocations: 4 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.452, allocations: 15.98 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.452, allocations: 3.938 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.452, allocations: 7.984 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.4521, allocations: 31.97 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.4522, allocations: 3.984 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.4522, allocations: 11.94 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.4523, allocations: 44.09 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4524, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4524, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4524, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 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.0005345/0.4529, allocations: 274.2 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4529, allocations: 8.031 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.443e-05/0.453, allocations: 42.72 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.453, allocations: 0.9375 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.4532, allocations: 114.5 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4532, allocations: 384 / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.4532, allocations: 384 / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.4534, allocations: 50.23 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4535, allocations: 3.938 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.4535, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4535, allocations: 4 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.4537, allocations: 35.91 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.4541, allocations: 216 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.4543, allocations: 46.48 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-05/0.4544, allocations: 20.91 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-05/0.4545, allocations: 4 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.4545, allocations: 30.56 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4545, allocations: 4 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004076/0.4549, allocations: 89.52 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.4549, allocations: 51.41 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.4551, allocations: 109.8 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.4551, allocations: 25.7 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.4551, allocations: 80.14 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.4552, allocations: 11.89 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.4552, allocations: 17.84 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.4554, allocations: 318.8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.28e-05/0.4555, allocations: 15.98 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.371e-05/0.4556, allocations: 11.98 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.4557, allocations: 36.83 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.4557, allocations: 7.922 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002177/0.456, allocations: 73.67 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.456, allocations: 4 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.456, allocations: 0 / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.456, allocations: 4 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.686e-05/0.4561, allocations: 7.984 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4561, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.495e-05/0.4562, allocations: 7.984 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.4562, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 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.0001096/0.4563, allocations: 117.8 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.4563, allocations: 3.953 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.4566, allocations: 76.91 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4566, allocations: 0 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.4566, allocations: 0 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.4566, allocations: 0 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.4569, allocations: 132.7 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4569, allocations: 0 / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/0.4569, allocations: 12.02 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4569, allocations: 0 / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.457, allocations: 0 / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.457, allocations: 4 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.457, allocations: 0 / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.4573, allocations: 163.5 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.4573, allocations: 7.938 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.4573, allocations: 3.938 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.4574, allocations: 12.02 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.4574, allocations: 4 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.4574, allocations: 3.984 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.288e-05/0.4575, allocations: 91.52 kB / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4575, allocations: 0 / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002393/0.4577, allocations: 11.94 kB / 1.367 GB, free: 9.652 MB / 1.061 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.0008329/0.4586, allocations: 0.7007 MB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.4588, allocations: 43.92 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4588, allocations: 0 / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.4589, allocations: 23.92 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.4592, allocations: 0 / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.4598, allocations: 155 kB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.757e-05/0.4599, allocations: 55.36 kB / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.4599, allocations: 8.109 kB / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.46, allocations: 11.44 kB / 1.368 GB, free: 8.57 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.46, allocations: 0 / 1.368 GB, free: 8.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.4936, allocations: 1.974 MB / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.9, allocations: 7.922 kB / 1.37 GB, free: 6.727 MB / 1.061 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 & 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: 19.372195167001337]