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.001968/0.001968, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.002251/0.002251, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.934 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.488/3.488, allocations: 0.49 GB / 0.7916 GB, free: 33.51 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.002098/0.002098, allocations: 65 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4353, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002735/0.4381, allocations: 1.454 MB / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004576/0.4385, allocations: 203.8 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.4386, allocations: 0 / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.4386, allocations: 3.938 kB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.914e-05/0.4386, allocations: 0 / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.4389, allocations: 39.84 kB / 1.322 GB, free: 1.621 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.585e-05/0.439, allocations: 31.86 kB / 1.322 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.4391, allocations: 0 / 1.322 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.025e-05/0.4391, allocations: 15.97 kB / 1.323 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.4392, allocations: 11.94 kB / 1.323 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.4392, allocations: 4 kB / 1.323 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.35e-05/0.4393, allocations: 39.95 kB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.4393, allocations: 0 / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.4393, allocations: 7.938 kB / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.4395, allocations: 48.03 kB / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4395, allocations: 0 / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4395, allocations: 0 / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.4395, allocations: 0 / 1.323 GB, free: 1.465 MB / 1.014 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.0005091/0.44, allocations: 347.4 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.44, allocations: 19.98 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.4401, allocations: 30.75 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.4401, allocations: 0.9375 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.4402, allocations: 176.3 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.4402, allocations: 384 / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.4402, allocations: 4.375 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.4404, allocations: 50.23 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.4404, allocations: 3.938 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.4404, allocations: 0 / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4404, allocations: 4 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.4406, allocations: 39.89 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.441, allocations: 241 kB / 1.323 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.4411, allocations: 46.47 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.46e-05/0.4412, allocations: 28.91 kB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-05/0.4413, allocations: 77.11 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.4413, allocations: 30.56 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4413, allocations: 11.88 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003707/0.4417, allocations: 77.64 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.4417, allocations: 59.53 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.4418, allocations: 101.8 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.4418, allocations: 25.7 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.4419, allocations: 88.09 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.4419, allocations: 0 / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.442, allocations: 13.72 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4421, allocations: 318.8 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.09e-05/0.4422, allocations: 15.98 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-05/0.4423, allocations: 15.98 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.4424, allocations: 44.75 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4424, allocations: 7.875 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002135/0.4426, allocations: 69.62 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4427, allocations: 8.094 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4427, allocations: 0 / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.4427, allocations: 7.984 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.4428, allocations: 4 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4428, allocations: 3.984 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.4428, allocations: 7.984 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.4428, allocations: 0 / 1.325 GB, free: 15.27 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.0001117/0.4429, allocations: 113.8 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.443, allocations: 0 / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.4433, allocations: 80.72 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4433, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.4433, allocations: 3.984 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4433, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.4435, allocations: 157.6 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4435, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.4435, allocations: 12.23 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4436, allocations: 4.031 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.4436, allocations: 4 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4436, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4436, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.4439, allocations: 171.3 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.006e-05/0.4439, allocations: 85.05 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.4439, allocations: 32 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.444, allocations: 11.98 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.4441, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.4441, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.257e-05/0.4441, allocations: 87.27 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4441, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00025/0.4444, allocations: 15.94 kB / 1.325 GB, free: 14.44 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.0007936/0.4452, allocations: 0.7046 MB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.4454, allocations: 39.89 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4454, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.4455, allocations: 24.08 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.4459, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.4465, allocations: 150.9 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.4469, allocations: 0.6768 MB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.789e-05/0.4469, allocations: 3.938 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.447, allocations: 11.44 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of SimCode: time 1.062e-06/0.447, allocations: 0 / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.4767, allocations: 1.452 MB / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.551, allocations: 13.64 kB / 1.328 GB, free: 11.36 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.821959455963224]