Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.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.001799/0.001799, allocations: 99.75 kB / 18.95 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.002221/0.002221, allocations: 216 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.634/1.634, allocations: 230.6 MB / 256 MB, free: 7.809 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.194/3.194, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.SmoothLimit,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothLimit",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.002103/0.002103, allocations: 66.86 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.426, allocations: 176.1 MB / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002732/0.4288, allocations: 1.477 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.4299, allocations: 0.5883 MB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.4299, allocations: 4 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.43, allocations: 0 / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.245e-05/0.43, allocations: 11.86 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.4303, allocations: 51.81 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.584e-05/0.4304, allocations: 31.86 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.295e-05/0.4305, allocations: 15.98 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.4306, allocations: 15.94 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.4307, allocations: 15.92 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.4307, allocations: 4 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.4308, allocations: 59.94 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.4308, allocations: 3.938 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.4309, allocations: 11.94 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.431, allocations: 72 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.431, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.431, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.431, allocations: 8 kB / 1.328 GB, free: 15.05 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.0004159/0.4314, allocations: 270.1 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4315, allocations: 12.03 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.4315, allocations: 38.73 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.4317, allocations: 12.94 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.4318, allocations: 122.4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.4319, allocations: 384 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.4319, allocations: 4.375 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.432, allocations: 49.75 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.432, allocations: 4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.432, allocations: 7.922 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.432, allocations: 3.938 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.688e-05/0.4321, allocations: 19.98 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.4324, allocations: 224 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.727e-05/0.4325, allocations: 26.58 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.614e-05/0.4326, allocations: 20.84 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000609/0.4332, allocations: 91.88 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.4332, allocations: 30.56 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4332, allocations: 4 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002368/0.4334, allocations: 65.62 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.4335, allocations: 51.41 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/0.4336, allocations: 110 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.4336, allocations: 29.7 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.4336, allocations: 92.12 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.4337, allocations: 3.953 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.4337, allocations: 13.72 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4338, allocations: 322.7 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/0.4339, allocations: 11.98 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.45e-05/0.4339, allocations: 8 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.745e-05/0.434, allocations: 24.84 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.434, allocations: 4.062 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001283/0.4341, allocations: 57.67 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4341, allocations: 9.875 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4341, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.4341, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.73e-05/0.4342, allocations: 4 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.4342, allocations: 3.938 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.124e-05/0.4342, allocations: 3.984 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.4343, allocations: 4 kB / 1.33 GB, free: 13.13 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 7.935e-05/0.4343, allocations: 114.3 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.4344, allocations: 7.953 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.4345, allocations: 61.3 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4345, allocations: 384 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4345, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.4345, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.4347, allocations: 132.7 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4347, allocations: 7.875 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.4347, allocations: 7.984 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4347, allocations: 4.031 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.4348, allocations: 8 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4348, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4348, allocations: 3.938 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.4349, allocations: 151.4 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.4349, allocations: 4 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.435, allocations: 7.969 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.095e-05/0.435, allocations: 4 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.435, allocations: 0 / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.4351, allocations: 0 / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.4351, allocations: 95.3 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4351, allocations: 0 / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000233/0.4353, allocations: 15.94 kB / 1.33 GB, free: 12.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.0005387/0.4359, allocations: 0.7122 MB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.436, allocations: 19.98 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.436, allocations: 0 / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.523e-05/0.4361, allocations: 12.09 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.4363, allocations: 0 / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.4376, allocations: 1.262 MB / 1.332 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.507e-05/0.4377, allocations: 67.25 kB / 1.332 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.199e-05/0.4377, allocations: 3.984 kB / 1.332 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.4377, allocations: 19.53 kB / 1.332 GB, free: 10.22 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4377, allocations: 0 / 1.332 GB, free: 10.22 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.4674, allocations: 2.17 MB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.53, allocations: 3.281 kB / 1.335 GB, free: 8.176 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_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_SmoothLimit.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.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.68805428201449]