Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.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.001808/0.001808, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002523/0.002523, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.854/2.854, allocations: 476.8 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SmoothMin,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin",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.002109/0.002109, allocations: 65.83 kB / 1.117 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3382, allocations: 170 MB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003114/0.3413, allocations: 1.491 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004797/0.3418, allocations: 139.6 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.3418, allocations: 0 / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.193e-05/0.3419, allocations: 7.922 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.538e-05/0.342, allocations: 11.92 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.3422, allocations: 31.84 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.3423, allocations: 35.92 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3425, allocations: 15.98 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.3425, allocations: 19.92 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.867e-05/0.3426, allocations: 23.91 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3426, allocations: 4 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3427, allocations: 31.98 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.3427, allocations: 11.92 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.3428, allocations: 15.94 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.343, allocations: 75.95 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.343, allocations: 3.984 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.343, allocations: 3.938 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.343, allocations: 0 / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005429/0.3435, allocations: 286.1 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3436, allocations: 12.03 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.3436, allocations: 34.75 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.3447, allocations: 208.5 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3449, allocations: 110.5 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3449, allocations: 384 / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.3449, allocations: 12.38 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/0.3455, allocations: 190 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3455, allocations: 3.938 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.3455, allocations: 8 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.3455, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008595/0.3464, allocations: 291.5 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009743/0.3474, allocations: 404.4 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.3485, allocations: 286.1 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.3488, allocations: 108.8 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.3488, allocations: 4 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3489, allocations: 30.56 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/0.3489, allocations: 0 / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.001238/0.3501, allocations: 309.3 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.3502, allocations: 51.41 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.3503, allocations: 125.8 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.3504, allocations: 29.7 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.3504, allocations: 88.14 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.3505, allocations: 7.953 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.3505, allocations: 17.7 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3507, allocations: 322.8 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.351, allocations: 87.88 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.3514, allocations: 99.86 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006332/0.352, allocations: 168.6 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.352, allocations: 4 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007183/0.3527, allocations: 217.8 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3527, allocations: 4 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3527, allocations: 0 / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.3528, allocations: 4 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.353, allocations: 43.81 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.353, allocations: 0 / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.3532, allocations: 31.89 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3533, allocations: 3.984 kB / 1.289 GB, free: 5.961 MB / 0.9825 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 (3): * Single equations (assignments): 3 * 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.0001249/0.3534, allocations: 121.8 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.3534, allocations: 7.953 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.3535, allocations: 16 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3535, allocations: 0 / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3535, allocations: 0 / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3535, allocations: 0 / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.3538, allocations: 184.5 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3538, allocations: 0 / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.354, allocations: 35.94 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.354, allocations: 0 / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.354, allocations: 4 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.354, allocations: 0 / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.354, allocations: 0 / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/0.3548, allocations: 315.5 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.3549, allocations: 7.953 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.3549, allocations: 3.984 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.3551, allocations: 28 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.3552, allocations: 7.984 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3552, allocations: 0 / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.234e-05/0.3552, allocations: 95.27 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3552, allocations: 0 / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002464/0.3555, allocations: 19.94 kB / 1.29 GB, free: 5.059 MB / 0.9825 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 (3): * Single equations (assignments): 3 * 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.00116/0.3566, allocations: 0.8411 MB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007702/0.3574, allocations: 195.7 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3574, allocations: 0 / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.3578, allocations: 99.88 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3581, allocations: 8.281 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.362, allocations: 1.863 MB / 1.292 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.3624, allocations: 0.6885 MB / 1.293 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.262e-05/0.3625, allocations: 20 kB / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.246e-05/0.3626, allocations: 15.42 kB / 1.293 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of SimCode: time 6.12e-07/0.3626, allocations: 0 / 1.293 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.394, allocations: 2.076 MB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.3, allocations: 7.875 kB / 1.295 GB, free: 15.26 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.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.160866270000042]