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.001417/0.001417, allocations: 107 kB / 16.45 MB, free: 6.508 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.00166/0.00166, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.506/1.506, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.455/3.455, allocations: 0.49 GB / 0.7916 GB, free: 33.35 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.002074/0.002074, allocations: 70.81 kB / 1.149 GB, free: 26.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4025, allocations: 176.1 MB / 1.321 GB, free: 3.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003819/0.4063, allocations: 1.474 MB / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.408, allocations: 0.6311 MB / 1.323 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.408, allocations: 3.938 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.4081, allocations: 3.984 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.98e-05/0.4081, allocations: 3.938 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.4085, allocations: 59.81 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.4087, allocations: 27.86 kB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.4088, allocations: 8 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.409, allocations: 23.91 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.409, allocations: 7.938 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.409, allocations: 4 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.4092, allocations: 59.95 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.4093, allocations: 3.984 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.4093, allocations: 15.88 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.4095, allocations: 76 kB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.4095, allocations: 7.938 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4095, allocations: 0 / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.4095, allocations: 0 / 1.323 GB, free: 1.023 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.0006483/0.4102, allocations: 355.2 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.4103, allocations: 11.98 kB / 1.324 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.02e-05/0.4103, allocations: 34.75 kB / 1.324 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.4105, allocations: 12.92 kB / 1.324 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.4108, allocations: 176.3 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.4108, allocations: 384 / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.4108, allocations: 4.375 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.411, allocations: 49.75 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.411, allocations: 0 / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.411, allocations: 0 / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.4111, allocations: 0 / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.4112, allocations: 27.91 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.4116, allocations: 256.8 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.4118, allocations: 34.56 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.693e-05/0.4118, allocations: 16.92 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.413, allocations: 473.3 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.4131, allocations: 38.56 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.4131, allocations: 0 / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003562/0.4134, allocations: 69.56 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.4135, allocations: 51.41 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.4136, allocations: 113.8 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.4136, allocations: 25.7 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.4137, allocations: 88.27 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.4137, allocations: 11.94 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.4138, allocations: 9.719 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.414, allocations: 318.8 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.414, allocations: 11.98 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-05/0.4141, allocations: 8 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.4142, allocations: 36.84 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4142, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001992/0.4144, allocations: 49.69 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.4144, allocations: 7.984 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4144, allocations: 4 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4145, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.968e-05/0.4146, allocations: 8 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.4146, allocations: 3.984 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.4146, allocations: 3.953 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.4146, allocations: 8.031 kB / 1.325 GB, free: 14.43 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.0001233/0.4147, allocations: 113.8 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.4148, allocations: 4 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.415, allocations: 65.14 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.415, allocations: 0 / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.415, allocations: 3.938 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.415, allocations: 0 / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.4152, allocations: 169.6 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4152, allocations: 8.016 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.4152, allocations: 4 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4152, allocations: 384 / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.4152, allocations: 0 / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4152, allocations: 0 / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4152, allocations: 0 / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.4155, allocations: 163.3 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.4155, allocations: 81.14 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.4155, allocations: 4 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4156, allocations: 4 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.4157, allocations: 3.984 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.4157, allocations: 0 / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.978e-05/0.4158, allocations: 87.28 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4158, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000444/0.4162, allocations: 19.92 kB / 1.326 GB, free: 13.6 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.0007236/0.4169, allocations: 0.7045 MB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000191/0.4171, allocations: 23.98 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4171, allocations: 0 / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.658e-05/0.4172, allocations: 11.98 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.4175, allocations: 8.156 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.4194, allocations: 1.265 MB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.4198, allocations: 0.6807 MB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.151e-05/0.4198, allocations: 0 / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.4198, allocations: 11.44 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.4198, allocations: 0 / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.4498, allocations: 1.65 MB / 1.33 GB, free: 9.188 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.563, allocations: 10.55 kB / 1.33 GB, free: 9.18 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.723459056112915]