Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001272/0.001272, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001464/0.001464, allocations: 217.4 kB / 23.03 MB, free: 4.922 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.385/3.385, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="cs",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.002058/0.002058, allocations: 61.91 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4357, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003491/0.4391, allocations: 1.475 MB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005187/0.4397, allocations: 139.5 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.4397, allocations: 3.938 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.317e-05/0.4398, allocations: 3.938 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.968e-05/0.4399, allocations: 7.938 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.4402, allocations: 31.91 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.4403, allocations: 39.91 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.4404, allocations: 12.27 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.585e-05/0.4405, allocations: 19.92 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.4406, allocations: 31.86 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.4406, allocations: 4 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.4407, allocations: 31.97 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.4407, allocations: 8 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.4407, allocations: 15.92 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.4409, allocations: 63.73 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4409, allocations: 0 / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4409, allocations: 0 / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.4409, allocations: 0 / 1.347 GB, free: 14.02 MB / 1.045 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.0005225/0.4415, allocations: 290.1 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4415, allocations: 16.03 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.718e-05/0.4415, allocations: 192 / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.4416, allocations: 30.75 kB / 1.347 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.4427, allocations: 216.5 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.4429, allocations: 114.4 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.4429, allocations: 4.375 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.4429, allocations: 8.375 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/0.4435, allocations: 197.7 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4435, allocations: 0 / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.4435, allocations: 4 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.4436, allocations: 4 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008729/0.4444, allocations: 283.6 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.4454, allocations: 392 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.4465, allocations: 282.2 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.4469, allocations: 108.8 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.4469, allocations: 7.984 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.4469, allocations: 30.56 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.447, allocations: 0 / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.001179/0.4481, allocations: 313.2 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.4482, allocations: 55.41 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.4483, allocations: 117.8 kB / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.4483, allocations: 25.7 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.4484, allocations: 92.12 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.4484, allocations: 11.91 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.4485, allocations: 17.72 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4486, allocations: 322.8 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.449, allocations: 95.88 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.4493, allocations: 91.88 kB / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006411/0.45, allocations: 180.6 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.45, allocations: 0 / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007299/0.4507, allocations: 209.5 kB / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.4507, allocations: 12 kB / 1.35 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4507, allocations: 0 / 1.35 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4507, allocations: 0 / 1.35 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.451, allocations: 31.95 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.451, allocations: 0 / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.4512, allocations: 31.89 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.4512, allocations: 7.922 kB / 1.351 GB, free: 10.3 MB / 1.045 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.0001108/0.4513, allocations: 117.8 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.4514, allocations: 7.953 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.73e-05/0.4514, allocations: 11.98 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4514, allocations: 0 / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.4514, allocations: 4 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.4514, allocations: 0 / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.4517, allocations: 168.7 kB / 1.351 GB, free: 9.934 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4517, allocations: 0 / 1.351 GB, free: 9.934 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.4519, allocations: 39.88 kB / 1.351 GB, free: 9.895 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4519, allocations: 4 kB / 1.351 GB, free: 9.891 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.4519, allocations: 4 kB / 1.351 GB, free: 9.887 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4519, allocations: 0 / 1.351 GB, free: 9.887 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4519, allocations: 0 / 1.351 GB, free: 9.887 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007983/0.4527, allocations: 311.2 kB / 1.351 GB, free: 9.566 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.4528, allocations: 12 kB / 1.351 GB, free: 9.555 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.4528, allocations: 0 / 1.351 GB, free: 9.555 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.453, allocations: 31.94 kB / 1.351 GB, free: 9.523 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.453, allocations: 4 kB / 1.351 GB, free: 9.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.4531, allocations: 0 / 1.351 GB, free: 9.52 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.316e-05/0.4531, allocations: 103.5 kB / 1.351 GB, free: 9.418 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4531, allocations: 0 / 1.351 GB, free: 9.418 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002485/0.4534, allocations: 15.94 kB / 1.351 GB, free: 9.402 MB / 1.045 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.001132/0.4545, allocations: 0.8376 MB / 1.352 GB, free: 8.539 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007425/0.4553, allocations: 199.8 kB / 1.352 GB, free: 8.344 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4553, allocations: 0 / 1.352 GB, free: 8.344 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.4556, allocations: 103.8 kB / 1.352 GB, free: 8.242 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.4559, allocations: 7.938 kB / 1.352 GB, free: 8.234 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.4594, allocations: 1.852 MB / 1.354 GB, free: 6.305 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.207e-05/0.4595, allocations: 67.34 kB / 1.354 GB, free: 6.219 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.548e-05/0.4596, allocations: 19.98 kB / 1.354 GB, free: 6.199 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.4597, allocations: 23.42 kB / 1.354 GB, free: 6.176 MB / 1.045 GB Notification: Performance of SimCode: time 7.32e-07/0.4597, allocations: 0 / 1.354 GB, free: 6.176 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.4834, allocations: 2.179 MB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.85, allocations: 4.062 kB / 1.357 GB, free: 4.133 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.185152578982525]