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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 102.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.951/2.951, allocations: 497.2 MB / 0.7812 GB, free: 11.94 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 72.12 kB / 1.134 GB, free: 13.15 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 173.9 MB / 1.304 GB, free: 32.17 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002479/1.028, allocations: 1.469 MB / 1.305 GB, free: 31.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003847/1.028, allocations: 144.8 kB / 1.306 GB, free: 31.06 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/1.028, allocations: 6.781 kB / 1.306 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.613e-05/1.028, allocations: 0 / 1.306 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-05/1.028, allocations: 3.938 kB / 1.306 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/1.029, allocations: 36.25 kB / 1.306 GB, free: 31.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.705e-05/1.029, allocations: 38.81 kB / 1.306 GB, free: 31.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/1.029, allocations: 19.62 kB / 1.306 GB, free: 31.01 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/1.029, allocations: 13.66 kB / 1.306 GB, free: 31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/1.029, allocations: 32.91 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/1.029, allocations: 5.594 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.363e-05/1.029, allocations: 35.59 kB / 1.306 GB, free: 30.97 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/1.029, allocations: 6.812 kB / 1.306 GB, free: 30.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/1.029, allocations: 18.16 kB / 1.306 GB, free: 30.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/1.029, allocations: 65.7 kB / 1.306 GB, free: 30.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.029, allocations: 2.594 kB / 1.306 GB, free: 30.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.254e-06/1.029, allocations: 3.938 kB / 1.306 GB, free: 30.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.282e-06/1.029, allocations: 0 / 1.306 GB, free: 30.93 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.0004676/1.03, allocations: 366.8 kB / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/1.03, allocations: 8.812 kB / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/1.03, allocations: 37.34 kB / 1.306 GB, free: 30.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/1.031, allocations: 208.8 kB / 1.306 GB, free: 30.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/1.031, allocations: 171.3 kB / 1.307 GB, free: 30.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/1.031, allocations: 6.906 kB / 1.307 GB, free: 30.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/1.031, allocations: 3.125 kB / 1.307 GB, free: 30.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/1.031, allocations: 190.3 kB / 1.307 GB, free: 30.24 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.031, allocations: 10.59 kB / 1.307 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/1.031, allocations: 0 / 1.307 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/1.031, allocations: 3.984 kB / 1.307 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007175/1.032, allocations: 281.8 kB / 1.307 GB, free: 30.19 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/1.033, allocations: 433.5 kB / 1.307 GB, free: 29.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009948/1.034, allocations: 288.8 kB / 1.308 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/1.034, allocations: 102.8 kB / 1.308 GB, free: 29.79 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/1.034, allocations: 0 / 1.308 GB, free: 29.79 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/1.034, allocations: 33.38 kB / 1.308 GB, free: 29.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/1.034, allocations: 0 / 1.308 GB, free: 29.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.001015/1.035, allocations: 303.4 kB / 1.308 GB, free: 29.67 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/1.035, allocations: 54.38 kB / 1.308 GB, free: 29.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/1.035, allocations: 130.9 kB / 1.308 GB, free: 29.49 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/1.036, allocations: 25.7 kB / 1.308 GB, free: 29.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.339e-05/1.036, allocations: 94.91 kB / 1.308 GB, free: 29.37 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/1.036, allocations: 11.38 kB / 1.308 GB, free: 29.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/1.036, allocations: 15.5 kB / 1.308 GB, free: 29.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.712e-05/1.036, allocations: 325 kB / 1.309 GB, free: 29.02 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/1.036, allocations: 92.14 kB / 1.309 GB, free: 29.01 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/1.036, allocations: 98.84 kB / 1.309 GB, free: 28.99 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005502/1.037, allocations: 173.3 kB / 1.309 GB, free: 28.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.037, allocations: 0 / 1.309 GB, free: 28.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006353/1.037, allocations: 218.9 kB / 1.309 GB, free: 28.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.037, allocations: 5.469 kB / 1.309 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.037, allocations: 8 kB / 1.309 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.037, allocations: 0 / 1.309 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/1.038, allocations: 36.36 kB / 1.309 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/1.038, allocations: 0 / 1.309 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/1.038, allocations: 25.17 kB / 1.309 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/1.038, allocations: 3.375 kB / 1.309 GB, free: 28.88 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 7.566e-05/1.038, allocations: 127.5 kB / 1.31 GB, free: 28.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/1.038, allocations: 6.891 kB / 1.31 GB, free: 28.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.464e-05/1.038, allocations: 14.14 kB / 1.31 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/1.038, allocations: 0 / 1.31 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.038, allocations: 0 / 1.31 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.038, allocations: 0 / 1.31 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/1.038, allocations: 206.9 kB / 1.31 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.038, allocations: 0 / 1.31 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/1.039, allocations: 40.67 kB / 1.31 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.039, allocations: 0 / 1.31 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/1.039, allocations: 0 / 1.31 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.039, allocations: 0 / 1.31 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.039, allocations: 0 / 1.31 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/1.039, allocations: 317 kB / 1.31 GB, free: 28.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/1.039, allocations: 91.2 kB / 1.31 GB, free: 28.26 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/1.039, allocations: 0 / 1.31 GB, free: 28.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/1.039, allocations: 23 kB / 1.31 GB, free: 28.26 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/1.039, allocations: 9.75 kB / 1.31 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/1.039, allocations: 2.688 kB / 1.31 GB, free: 28.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.485e-05/1.039, allocations: 98.61 kB / 1.31 GB, free: 28.17 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.039, allocations: 2.719 kB / 1.31 GB, free: 28.17 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000233/1.04, allocations: 15.09 kB / 1.31 GB, free: 28.16 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.000817/1.041, allocations: 0.8453 MB / 1.311 GB, free: 27.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006494/1.041, allocations: 196.1 kB / 1.311 GB, free: 27.44 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.041, allocations: 4 kB / 1.311 GB, free: 27.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/1.042, allocations: 95.92 kB / 1.311 GB, free: 27.42 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/1.042, allocations: 13.56 kB / 1.311 GB, free: 27.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/1.045, allocations: 1.847 MB / 1.313 GB, free: 26.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/1.045, allocations: 0.6868 MB / 1.314 GB, free: 25.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.863e-05/1.045, allocations: 18.09 kB / 1.314 GB, free: 25.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/1.045, allocations: 17.72 kB / 1.314 GB, free: 25.4 MB / 1.061 GB Notification: Performance of SimCode: time 7.41e-07/1.045, allocations: 0 / 1.314 GB, free: 25.4 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/1.069, allocations: 1.974 MB / 1.316 GB, free: 24.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/9.167, allocations: 4 kB / 1.316 GB, free: 24.98 MB / 1.061 GB " [Timeout remaining time 291] (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_2/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: 15.686571727972478]