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.001273/0.001273, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.00139/0.00139, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.41/3.41, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.002699/0.002699, allocations: 69.59 kB / 1.172 GB, free: 17.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4366, allocations: 180.2 MB / 1.348 GB, free: 9.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003401/0.44, allocations: 1.459 MB / 1.349 GB, free: 8.52 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000531/0.4405, allocations: 191.9 kB / 1.349 GB, free: 8.332 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.4406, allocations: 0 / 1.349 GB, free: 8.332 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.4406, allocations: 3.938 kB / 1.349 GB, free: 8.328 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.236e-05/0.4407, allocations: 7.984 kB / 1.349 GB, free: 8.32 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.441, allocations: 35.91 kB / 1.349 GB, free: 8.285 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.662e-05/0.4411, allocations: 23.92 kB / 1.349 GB, free: 8.262 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.4412, allocations: 11.92 kB / 1.349 GB, free: 8.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.86e-05/0.4412, allocations: 8 kB / 1.349 GB, free: 8.242 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.882e-05/0.4413, allocations: 11.91 kB / 1.349 GB, free: 8.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.4413, allocations: 4 kB / 1.349 GB, free: 8.227 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.4414, allocations: 31.97 kB / 1.349 GB, free: 8.195 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.4414, allocations: 4 kB / 1.35 GB, free: 8.191 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.4415, allocations: 19.92 kB / 1.35 GB, free: 8.172 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.4416, allocations: 48.03 kB / 1.35 GB, free: 8.125 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4416, allocations: 0 / 1.35 GB, free: 8.125 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.434e-06/0.4416, allocations: 0 / 1.35 GB, free: 8.125 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.4417, allocations: 0 / 1.35 GB, free: 8.125 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.0005894/0.4422, allocations: 343.4 kB / 1.35 GB, free: 7.738 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.4423, allocations: 11.98 kB / 1.35 GB, free: 7.727 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.4423, allocations: 30.75 kB / 1.35 GB, free: 7.688 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.4424, allocations: 8.891 kB / 1.35 GB, free: 7.68 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.4425, allocations: 172.3 kB / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.4426, allocations: 384 / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.4426, allocations: 4.375 kB / 1.35 GB, free: 7.469 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.4428, allocations: 46.23 kB / 1.35 GB, free: 7.418 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4428, allocations: 7.938 kB / 1.35 GB, free: 7.41 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.4428, allocations: 0 / 1.35 GB, free: 7.41 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4428, allocations: 3.938 kB / 1.35 GB, free: 7.406 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.443, allocations: 39.91 kB / 1.35 GB, free: 7.367 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.4434, allocations: 253 kB / 1.35 GB, free: 7.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.4436, allocations: 38.5 kB / 1.35 GB, free: 7.023 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.4437, allocations: 20.91 kB / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.4438, allocations: 85.09 kB / 1.351 GB, free: 6.898 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.4439, allocations: 34.56 kB / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.4439, allocations: 3.938 kB / 1.351 GB, free: 6.852 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004338/0.4443, allocations: 85.59 kB / 1.351 GB, free: 6.762 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.4444, allocations: 51.41 kB / 1.351 GB, free: 6.699 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.4445, allocations: 97.86 kB / 1.351 GB, free: 6.594 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.4445, allocations: 29.7 kB / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.4446, allocations: 88.25 kB / 1.351 GB, free: 6.469 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.4446, allocations: 7.891 kB / 1.351 GB, free: 6.461 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.4446, allocations: 17.72 kB / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4448, allocations: 310.8 kB / 1.351 GB, free: 6.125 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.335e-05/0.4449, allocations: 15.98 kB / 1.351 GB, free: 6.109 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.445, allocations: 19.97 kB / 1.351 GB, free: 6.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.4452, allocations: 44.83 kB / 1.351 GB, free: 6.043 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.4452, allocations: 3.938 kB / 1.351 GB, free: 6.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002178/0.4454, allocations: 65.66 kB / 1.351 GB, free: 5.969 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4454, allocations: 4 kB / 1.351 GB, free: 5.965 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4454, allocations: 0 / 1.351 GB, free: 5.965 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.4454, allocations: 0 / 1.351 GB, free: 5.965 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4455, allocations: 24 kB / 1.351 GB, free: 5.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4455, allocations: 0 / 1.351 GB, free: 5.941 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.4456, allocations: 4 kB / 1.351 GB, free: 5.938 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.4456, allocations: 0 / 1.351 GB, free: 5.938 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 0.0001004/0.4457, allocations: 113.8 kB / 1.352 GB, free: 5.816 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.4457, allocations: 4 kB / 1.352 GB, free: 5.812 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.446, allocations: 76.72 kB / 1.352 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.446, allocations: 0 / 1.352 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.446, allocations: 4 kB / 1.352 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.446, allocations: 0 / 1.352 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.4462, allocations: 161.6 kB / 1.352 GB, free: 5.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4462, allocations: 0 / 1.352 GB, free: 5.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.4462, allocations: 4 kB / 1.352 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4462, allocations: 4 kB / 1.352 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.4463, allocations: 0 / 1.352 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4463, allocations: 0 / 1.352 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4463, allocations: 32 / 1.352 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.4465, allocations: 175.3 kB / 1.352 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.4466, allocations: 85.28 kB / 1.352 GB, free: 5.219 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.4466, allocations: 0 / 1.352 GB, free: 5.219 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.78e-05/0.4467, allocations: 8 kB / 1.352 GB, free: 5.211 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.4467, allocations: 7.984 kB / 1.352 GB, free: 5.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.4467, allocations: 4.031 kB / 1.352 GB, free: 5.199 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.823e-05/0.4468, allocations: 83.28 kB / 1.352 GB, free: 5.117 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4468, allocations: 0 / 1.352 GB, free: 5.117 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002433/0.447, allocations: 15.88 kB / 1.352 GB, free: 5.102 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.0007259/0.4478, allocations: 0.7046 MB / 1.353 GB, free: 4.367 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.448, allocations: 35.91 kB / 1.353 GB, free: 4.332 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.448, allocations: 0 / 1.353 GB, free: 4.332 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.648e-05/0.4481, allocations: 19.98 kB / 1.353 GB, free: 4.312 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.4484, allocations: 10.02 kB / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.4489, allocations: 155.1 kB / 1.353 GB, free: 4.113 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.4492, allocations: 0.6768 MB / 1.354 GB, free: 3.41 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.4493, allocations: 7.984 kB / 1.354 GB, free: 3.402 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.4493, allocations: 7.438 kB / 1.354 GB, free: 3.395 MB / 1.045 GB Notification: Performance of SimCode: time 1.042e-06/0.4493, allocations: 0 / 1.354 GB, free: 3.395 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.4768, allocations: 1.458 MB / 1.355 GB, free: 2.031 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.613, allocations: 0 / 1.355 GB, free: 2.031 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.94658265192993]