Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001314/0.001314, allocations: 105.6 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.001355/0.001355, allocations: 216.2 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.495/1.495, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.307/3.307, allocations: 0.49 GB / 0.7916 GB, free: 33.27 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.SmoothMin,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_12_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.002073/0.002073, allocations: 69.25 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3706, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003025/0.3736, allocations: 1.477 MB / 1.322 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004291/0.3741, allocations: 147.5 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.898e-05/0.3741, allocations: 8 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.683e-05/0.3742, allocations: 3.938 kB / 1.322 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.436e-05/0.3742, allocations: 7.922 kB / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.3745, allocations: 35.89 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3746, allocations: 39.86 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.3748, allocations: 16.27 kB / 1.323 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.3748, allocations: 15.94 kB / 1.323 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.3749, allocations: 23.92 kB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.3749, allocations: 8 kB / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.375, allocations: 31.95 kB / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.375, allocations: 11.92 kB / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.3751, allocations: 19.94 kB / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.3752, allocations: 67.72 kB / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3752, allocations: 0 / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3752, allocations: 0 / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.3752, allocations: 0 / 1.323 GB, free: 1.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005689/0.3758, allocations: 363.2 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3759, allocations: 15.98 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.3759, allocations: 38.73 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.377, allocations: 204.6 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.3772, allocations: 172.3 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.3772, allocations: 4.312 kB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.3772, allocations: 12.38 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/0.3778, allocations: 190 kB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3778, allocations: 3.938 kB / 1.324 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.3779, allocations: 7.984 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.3779, allocations: 4 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008957/0.3788, allocations: 275.6 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.3798, allocations: 437.3 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.381, allocations: 286.2 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/0.3814, allocations: 112.7 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.3814, allocations: 0 / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.3814, allocations: 30.56 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3814, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.001251/0.3827, allocations: 313.2 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.3827, allocations: 55.41 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3828, allocations: 113.8 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.3828, allocations: 33.7 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.3829, allocations: 88.12 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.3829, allocations: 7.953 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.383, allocations: 17.72 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3831, allocations: 318.8 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.3835, allocations: 95.88 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.3839, allocations: 95.88 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007153/0.3846, allocations: 172.6 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3846, allocations: 4 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007836/0.3854, allocations: 217.3 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3854, allocations: 8 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3854, allocations: 0 / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3854, allocations: 0 / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.3857, allocations: 35.95 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.3857, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.3859, allocations: 27.89 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.3859, allocations: 7.984 kB / 1.326 GB, free: 13.48 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 (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.0001072/0.386, allocations: 117.8 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.386, allocations: 4.328 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.3861, allocations: 15.89 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3861, allocations: 0 / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.3861, allocations: 4 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3861, allocations: 3.938 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.3864, allocations: 209.5 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3864, allocations: 0 / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.3866, allocations: 39.89 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.3867, allocations: 3.938 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3867, allocations: 7.984 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3867, allocations: 0 / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3867, allocations: 4 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009/0.3876, allocations: 315.5 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-05/0.3876, allocations: 81.11 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.3877, allocations: 0 / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.3879, allocations: 27.95 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.388, allocations: 3.984 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.388, allocations: 0 / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.119e-05/0.3881, allocations: 99.27 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3881, allocations: 0 / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00025/0.3883, allocations: 19.94 kB / 1.327 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 (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.001279/0.3896, allocations: 0.8372 MB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008352/0.3904, allocations: 195.7 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3904, allocations: 0 / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.3908, allocations: 103.8 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.3911, allocations: 7.984 kB / 1.328 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.3948, allocations: 1.842 MB / 1.33 GB, free: 9.355 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.3952, allocations: 0.6885 MB / 1.331 GB, free: 8.641 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.065e-05/0.3952, allocations: 19.98 kB / 1.331 GB, free: 8.621 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.823e-05/0.3953, allocations: 19.42 kB / 1.331 GB, free: 8.602 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.3953, allocations: 288 / 1.331 GB, free: 8.602 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.4207, allocations: 1.964 MB / 1.333 GB, free: 6.711 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.442, allocations: 9.25 kB / 1.333 GB, free: 6.707 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.448695528088138]