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.001134/0.001134, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001028/0.001028, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9252/0.9252, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.824/1.824, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.152e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002348/0.00237, allocations: 1.452 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004225/0.002792, allocations: 191.3 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.002831, allocations: 0 / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.00286, allocations: 3.938 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.433e-05/0.002904, allocations: 7.875 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.003205, allocations: 35.89 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.873e-05/0.003283, allocations: 27.92 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.003378, allocations: 7.984 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.173e-05/0.00343, allocations: 8 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.917e-05/0.003469, allocations: 7.984 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.003485, allocations: 4 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-05/0.003573, allocations: 31.97 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.003589, allocations: 3.938 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.003613, allocations: 15.97 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.003746, allocations: 43.88 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.003749, allocations: 0 / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.403e-06/0.00375, allocations: 4 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.003754, allocations: 0 / 1.001 GB, free: 11.63 MB / 0.9636 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.0003946/0.004149, allocations: 266.3 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.004191, allocations: 8.75 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.00423, allocations: 30.75 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.004254, allocations: 8.875 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.128e-05/0.004345, allocations: 117.6 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.004356, allocations: 4.375 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.004364, allocations: 384 / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.004519, allocations: 54.23 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.004527, allocations: 192 / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.004535, allocations: 384 / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.004542, allocations: 8.109 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.004664, allocations: 35.95 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.004974, allocations: 216 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.005079, allocations: 38.5 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.608e-05/0.005145, allocations: 29.69 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.81e-05/0.005213, allocations: 7.984 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.005237, allocations: 34.5 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.005238, allocations: 0 / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002918/0.00553, allocations: 85.58 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.005564, allocations: 51.41 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.91e-05/0.005633, allocations: 105.9 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.005645, allocations: 29.83 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.005686, allocations: 84.12 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.005703, allocations: 3.953 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.005735, allocations: 17.72 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.005829, allocations: 310.8 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.804e-05/0.005887, allocations: 19.98 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.122e-05/0.005938, allocations: 19.91 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.00605, allocations: 40.89 kB / 1.003 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.006052, allocations: 0 / 1.003 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000157/0.006209, allocations: 81.48 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.006223, allocations: 4 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.006228, allocations: 0 / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.006239, allocations: 0 / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.321e-05/0.006313, allocations: 11.98 kB / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.006317, allocations: 0 / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.196e-05/0.006349, allocations: 8.031 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.006354, allocations: 0 / 1.003 GB, free: 9.734 MB / 0.9636 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 6.2e-05/0.006416, allocations: 113.8 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.006441, allocations: 7.922 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.006619, allocations: 76.95 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.006621, allocations: 0 / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.006625, allocations: 0 / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006629, allocations: 0 / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.006774, allocations: 128.8 kB / 1.003 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.006775, allocations: 0 / 1.003 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.006811, allocations: 15.92 kB / 1.003 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.006814, allocations: 3.938 kB / 1.003 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.006821, allocations: 0 / 1.003 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.006822, allocations: 0 / 1.003 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006823, allocations: 0 / 1.003 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.006995, allocations: 163.5 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.007003, allocations: 11.92 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.007019, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.173e-05/0.007081, allocations: 4 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.007115, allocations: 7.984 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.007118, allocations: 0 / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.007154, allocations: 87.53 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.007154, allocations: 0 / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002861/0.00744, allocations: 11.94 kB / 1.004 GB, free: 9.035 MB / 0.9636 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.000445/0.007886, allocations: 0.7085 MB / 1.004 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001622/0.008048, allocations: 31.97 kB / 1.004 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.00805, allocations: 0 / 1.004 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.879e-05/0.008108, allocations: 27.91 kB / 1.004 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.00842, allocations: 10.17 kB / 1.004 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.008827, allocations: 130.8 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.104e-05/0.008878, allocations: 63.34 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.0089, allocations: 3.938 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.008935, allocations: 16.5 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of SimCode: time 6.463e-06/0.008941, allocations: 0 / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.02606, allocations: 2.123 MB / 1.007 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/6.935, allocations: 6.328 kB / 1.007 GB, free: 5.973 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.209755214862525]