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.001767/0.001767, 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.002248/0.002248, allocations: 210.7 kB / 22.25 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.766 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.44/3.44, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_latest_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.003077/0.003077, allocations: 66.45 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4326, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003345/0.4359, allocations: 1.478 MB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004952/0.4364, allocations: 143.5 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/0.4365, allocations: 0 / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.083e-05/0.4365, allocations: 3.938 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.319e-05/0.4366, allocations: 3.938 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.4369, allocations: 31.91 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.437, allocations: 39.91 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.4371, allocations: 12.28 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.475e-05/0.4372, allocations: 27.91 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.4372, allocations: 19.86 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.4373, allocations: 4 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.4374, allocations: 31.97 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.4374, allocations: 8 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.4374, allocations: 15.92 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.4376, allocations: 71.67 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4376, allocations: 0 / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4376, allocations: 3.938 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.4376, allocations: 0 / 1.365 GB, free: 12.14 MB / 1.061 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.0004977/0.4381, allocations: 290.1 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4382, allocations: 8.031 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.4382, allocations: 34.75 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.4393, allocations: 212.5 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.4395, allocations: 114.5 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.4395, allocations: 4.375 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.4395, allocations: 4.375 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005978/0.4401, allocations: 194 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4401, allocations: 3.938 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.4401, allocations: 0 / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.4401, allocations: 0 / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008792/0.441, allocations: 291.5 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.442, allocations: 388.5 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.4432, allocations: 290.1 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.4435, allocations: 104.8 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.4436, allocations: 3.984 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.4436, allocations: 34.56 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.694e-06/0.4436, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.00121/0.4448, allocations: 309.3 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.4448, allocations: 51.41 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.445, allocations: 117.8 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.445, allocations: 25.7 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.445, allocations: 92.06 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.4451, allocations: 11.91 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.4451, allocations: 17.72 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4453, allocations: 318.8 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.4456, allocations: 99.88 kB / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.446, allocations: 91.88 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/0.4466, allocations: 173 kB / 1.368 GB, free: 8.734 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4466, allocations: 0 / 1.368 GB, free: 8.734 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007466/0.4474, allocations: 213.5 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4474, allocations: 8 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4474, allocations: 8.25 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4474, allocations: 0 / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.4477, allocations: 35.89 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.4477, allocations: 0 / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.4479, allocations: 35.84 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.4479, allocations: 3.984 kB / 1.369 GB, free: 8.43 MB / 1.061 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.0001048/0.448, allocations: 117.8 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.448, allocations: 11.98 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.801e-05/0.4481, allocations: 8 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.4481, allocations: 3.984 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4481, allocations: 0 / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4481, allocations: 0 / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.4483, allocations: 168.7 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4483, allocations: 3.938 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.4486, allocations: 35.94 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4486, allocations: 4 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4486, allocations: 0 / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4486, allocations: 0 / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4486, allocations: 0 / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000836/0.4494, allocations: 315.1 kB / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.4494, allocations: 11.95 kB / 1.369 GB, free: 7.684 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.4495, allocations: 0 / 1.369 GB, free: 7.684 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.4497, allocations: 35.94 kB / 1.369 GB, free: 7.648 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.4497, allocations: 4 kB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4498, allocations: 0 / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.62e-05/0.4498, allocations: 95.27 kB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4498, allocations: 0 / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002427/0.4501, allocations: 15.94 kB / 1.369 GB, free: 7.535 MB / 1.061 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.001253/0.4513, allocations: 0.8372 MB / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007866/0.4521, allocations: 191.8 kB / 1.37 GB, free: 6.484 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4521, allocations: 0 / 1.37 GB, free: 6.484 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.4525, allocations: 104.1 kB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.4528, allocations: 11.94 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.4565, allocations: 1.857 MB / 1.372 GB, free: 4.438 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.207e-05/0.4566, allocations: 67.34 kB / 1.372 GB, free: 4.352 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.143e-05/0.4567, allocations: 19.98 kB / 1.372 GB, free: 4.332 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.717e-05/0.4568, allocations: 19.42 kB / 1.372 GB, free: 4.312 MB / 1.061 GB Notification: Performance of SimCode: time 7.81e-07/0.4568, allocations: 0 / 1.372 GB, free: 4.312 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.4877, allocations: 2.546 MB / 1.375 GB, free: 1.902 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.78, allocations: 3.875 kB / 1.375 GB, free: 1.902 MB / 1.061 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.068943612277508]