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.001834/0.001834, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002781/0.002781, allocations: 212 kB / 22.24 MB, free: 5.262 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.738 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.809/2.809, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] 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.002165/0.002165, allocations: 66.08 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3485, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002948/0.3515, allocations: 1.489 MB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000414/0.3519, allocations: 131.6 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.3519, allocations: 3.938 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.534e-05/0.352, allocations: 3.938 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.389e-05/0.352, allocations: 11.94 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.3523, allocations: 31.89 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.3524, allocations: 39.91 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3526, allocations: 15.98 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.467e-05/0.3527, allocations: 15.94 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.321e-05/0.3527, allocations: 23.91 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.3528, allocations: 4 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.3529, allocations: 31.97 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.3529, allocations: 15.94 kB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.353, allocations: 19.92 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.3532, allocations: 61.48 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.3532, allocations: 0 / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3532, allocations: 0 / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3532, allocations: 0 / 1.284 GB, free: 10.57 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.0007077/0.3539, allocations: 286.1 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.748e-05/0.354, allocations: 12.03 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.568e-05/0.354, allocations: 34.69 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.3552, allocations: 220.5 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.3554, allocations: 106.5 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.3554, allocations: 8.312 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.3554, allocations: 384 / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006375/0.3561, allocations: 194 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3561, allocations: 7.938 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3561, allocations: 0 / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.3561, allocations: 0 / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008865/0.357, allocations: 287.5 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.3581, allocations: 396.5 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.3592, allocations: 282.2 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.3596, allocations: 104.8 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.3596, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.3596, allocations: 38.5 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3596, allocations: 0 / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.001163/0.3608, allocations: 305.3 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.3608, allocations: 51.41 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.361, allocations: 117.8 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.361, allocations: 29.64 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.3611, allocations: 100.1 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.3611, allocations: 3.953 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.3611, allocations: 17.72 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3613, allocations: 322.8 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.3617, allocations: 99.81 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.362, allocations: 91.88 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/0.3627, allocations: 172.9 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3627, allocations: 0 / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007527/0.3634, allocations: 225.4 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3634, allocations: 4 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3634, allocations: 8 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3635, allocations: 0 / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.3637, allocations: 27.95 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3637, allocations: 0 / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.3639, allocations: 39.88 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3639, allocations: 8.312 kB / 1.288 GB, free: 6.848 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.0001177/0.364, allocations: 117.8 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.3641, allocations: 3.953 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.3641, allocations: 11.98 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3641, allocations: 3.938 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3641, allocations: 0 / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3641, allocations: 4 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.3644, allocations: 168.7 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3644, allocations: 0 / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.3646, allocations: 35.94 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3646, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3646, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3646, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3646, allocations: 4 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/0.3654, allocations: 311.2 kB / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.3654, allocations: 7.891 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.3654, allocations: 3.984 kB / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.3657, allocations: 27.95 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.3657, allocations: 7.938 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.3657, allocations: 8 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.098e-05/0.3658, allocations: 91.27 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3658, allocations: 0 / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002388/0.366, allocations: 15.94 kB / 1.289 GB, free: 5.969 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.001157/0.3672, allocations: 0.8372 MB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007909/0.368, allocations: 195.7 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.368, allocations: 0 / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003812/0.3684, allocations: 107.9 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.3686, allocations: 6.5 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.3724, allocations: 1.849 MB / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.301e-05/0.3725, allocations: 71.25 kB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.687e-05/0.3726, allocations: 23.98 kB / 1.292 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.911e-05/0.3727, allocations: 16.03 kB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of SimCode: time 8.02e-07/0.3727, allocations: 0 / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.404, allocations: 2.545 MB / 1.294 GB, free: 340 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.63, allocations: 9.406 kB / 1.294 GB, free: 336 kB / 0.9825 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.663591730874032]