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.001276/0.001276, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001571/0.001571, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.348/3.348, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 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.002138/0.002138, allocations: 66.41 kB / 1.171 GB, free: 19.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4143, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00305/0.4174, allocations: 1.491 MB / 1.347 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004536/0.4178, allocations: 143.5 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.4179, allocations: 0 / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.64e-05/0.4179, allocations: 11.88 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.582e-05/0.418, allocations: 0 / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.4182, allocations: 31.91 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.4185, allocations: 47.83 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.4186, allocations: 20.22 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.4187, allocations: 15.92 kB / 1.347 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.4187, allocations: 19.92 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.4187, allocations: 8 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.4189, allocations: 31.97 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.4189, allocations: 15.92 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.4189, allocations: 15.94 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.4191, allocations: 67.73 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4191, allocations: 0 / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4191, allocations: 0 / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.4191, allocations: 0 / 1.347 GB, free: 14.56 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.0005043/0.4196, allocations: 286.1 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.4196, allocations: 16.03 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.624e-05/0.4197, allocations: 4.172 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.4197, allocations: 30.75 kB / 1.348 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.4208, allocations: 208.6 kB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.421, allocations: 122.4 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.421, allocations: 12.31 kB / 1.348 GB, free: 13.83 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.421, allocations: 4.375 kB / 1.348 GB, free: 13.83 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005992/0.4216, allocations: 193.8 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4216, allocations: 3.984 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.4216, allocations: 0 / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4216, allocations: 0 / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008949/0.4225, allocations: 279.6 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.4236, allocations: 412 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.4247, allocations: 286.2 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.4251, allocations: 100.8 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.4251, allocations: 3.938 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.4251, allocations: 34.55 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.4251, allocations: 0 / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.001313/0.4264, allocations: 317.2 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.4265, allocations: 51.41 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.4266, allocations: 125.8 kB / 1.35 GB, free: 11.96 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.4266, allocations: 25.7 kB / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.4267, allocations: 92.19 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.4267, allocations: 15.91 kB / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.4268, allocations: 13.72 kB / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.427, allocations: 322.8 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.4273, allocations: 95.88 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.4277, allocations: 95.88 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006803/0.4284, allocations: 168.6 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4284, allocations: 0 / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007964/0.4292, allocations: 213.4 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.4292, allocations: 8 kB / 1.351 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4292, allocations: 4 kB / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4292, allocations: 0 / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.4295, allocations: 35.94 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.4295, allocations: 0 / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.4297, allocations: 31.89 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.4297, allocations: 3.938 kB / 1.351 GB, free: 10.82 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.0001138/0.4298, allocations: 121.8 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.4298, allocations: 11.95 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/0.4299, allocations: 8 kB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.4299, allocations: 0 / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4299, allocations: 0 / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4299, allocations: 7.984 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.4302, allocations: 176.6 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4302, allocations: 0 / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.4304, allocations: 35.88 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.4304, allocations: 8.328 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.4304, allocations: 7.938 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4304, allocations: 0 / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4304, allocations: 0 / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009145/0.4314, allocations: 323.2 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.4314, allocations: 4 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.4314, allocations: 0 / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.4316, allocations: 31.95 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.4317, allocations: 3.984 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.4317, allocations: 4 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001702/0.4318, allocations: 99.52 kB / 1.351 GB, free: 9.922 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4318, allocations: 4 kB / 1.351 GB, free: 9.918 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002359/0.4321, allocations: 12 kB / 1.351 GB, free: 9.906 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.001215/0.4333, allocations: 0.8411 MB / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008063/0.4341, allocations: 191.7 kB / 1.352 GB, free: 8.852 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4341, allocations: 4 kB / 1.352 GB, free: 8.848 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.4345, allocations: 99.81 kB / 1.353 GB, free: 8.75 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.4347, allocations: 6.031 kB / 1.353 GB, free: 8.746 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.4387, allocations: 1.848 MB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.439, allocations: 0.6885 MB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.114e-05/0.4391, allocations: 19.98 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.4392, allocations: 19.44 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of SimCode: time 4.91e-07/0.4392, allocations: 0 / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.4639, allocations: 2.108 MB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.67, allocations: 12.3 kB / 1.357 GB, free: 4.082 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: 18.881533699983265]