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.001327/0.001327, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00148/0.00148, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.977 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.486/3.486, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.002016/0.002016, allocations: 69.86 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4324, allocations: 180.2 MB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003466/0.4359, allocations: 1.505 MB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005088/0.4364, allocations: 147.5 kB / 1.354 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.4365, allocations: 0 / 1.354 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.929e-05/0.4365, allocations: 3.938 kB / 1.354 GB, free: 6.754 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.137e-05/0.4366, allocations: 7.938 kB / 1.354 GB, free: 6.746 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.4369, allocations: 31.89 kB / 1.355 GB, free: 6.715 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.437, allocations: 43.84 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.4371, allocations: 8.281 kB / 1.355 GB, free: 6.664 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.287e-05/0.4372, allocations: 23.92 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.759e-05/0.4373, allocations: 23.92 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.4373, allocations: 4 kB / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.4374, allocations: 31.97 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.4374, allocations: 11.92 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.4374, allocations: 15.94 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.4376, allocations: 67.72 kB / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4376, allocations: 4 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4376, allocations: 0 / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.4376, allocations: 0 / 1.355 GB, free: 6.484 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.0005266/0.4382, allocations: 286.1 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4382, allocations: 8.031 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.4383, allocations: 42.73 kB / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.4394, allocations: 204.5 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.4395, allocations: 130.4 kB / 1.355 GB, free: 5.762 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4396, allocations: 384 / 1.355 GB, free: 5.762 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.4396, allocations: 4.375 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006117/0.4402, allocations: 190 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4402, allocations: 7.938 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4402, allocations: 0 / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4402, allocations: 0 / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008711/0.4411, allocations: 279.6 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.4421, allocations: 408.5 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.4433, allocations: 282.3 kB / 1.356 GB, free: 4.559 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.4436, allocations: 96.73 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.4436, allocations: 8.062 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.4437, allocations: 38.55 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.4437, allocations: 3.938 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.001194/0.4449, allocations: 309.2 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.4449, allocations: 55.41 kB / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.4451, allocations: 117.8 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.4451, allocations: 29.7 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.4452, allocations: 88.14 kB / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.4452, allocations: 11.89 kB / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.4452, allocations: 13.72 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4454, allocations: 326.8 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.4458, allocations: 95.88 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.4461, allocations: 91.88 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006433/0.4467, allocations: 172.6 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4467, allocations: 3.938 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007173/0.4475, allocations: 209.5 kB / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4475, allocations: 4 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4475, allocations: 4 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.4475, allocations: 4 kB / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.4477, allocations: 32.27 kB / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.4478, allocations: 4.375 kB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.4479, allocations: 35.89 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.448, allocations: 0 / 1.358 GB, free: 2.766 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.0001136/0.4481, allocations: 130.4 kB / 1.358 GB, free: 2.629 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.4481, allocations: 11.89 kB / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.4482, allocations: 11.98 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4482, allocations: 0 / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4482, allocations: 0 / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.4482, allocations: 0 / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.4484, allocations: 180.6 kB / 1.358 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4484, allocations: 0 / 1.358 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.4487, allocations: 43.88 kB / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.4487, allocations: 0 / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.4487, allocations: 0 / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4487, allocations: 0 / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4487, allocations: 3.938 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008051/0.4495, allocations: 319.2 kB / 1.359 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.4495, allocations: 8 kB / 1.359 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.4495, allocations: 0 / 1.359 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.4497, allocations: 31.95 kB / 1.359 GB, free: 1.969 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.4498, allocations: 0 / 1.359 GB, free: 1.969 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.4498, allocations: 3.984 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.012e-05/0.4499, allocations: 95.27 kB / 1.359 GB, free: 1.871 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4499, allocations: 4 kB / 1.359 GB, free: 1.867 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000262/0.4501, allocations: 19.94 kB / 1.359 GB, free: 1.848 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.001145/0.4513, allocations: 0.8338 MB / 1.36 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007416/0.452, allocations: 195.7 kB / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.452, allocations: 4 kB / 1.36 GB, free: 0.793 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.4524, allocations: 99.81 kB / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.4526, allocations: 5.562 kB / 1.36 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.4563, allocations: 1.845 MB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.4566, allocations: 0.6926 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.399e-05/0.4567, allocations: 19.98 kB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/0.4568, allocations: 15.44 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of SimCode: time 8.22e-07/0.4568, allocations: 3.938 kB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.488, allocations: 2.086 MB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.5, allocations: 2.844 kB / 1.365 GB, free: 12.05 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: 18.86520138103515]