Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001297/0.001297, allocations: 111.8 kB / 18.14 MB, free: 3.781 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.001304/0.001304, allocations: 202 kB / 21.43 MB, free: 0.5 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.456/1.456, allocations: 225.6 MB / 250.2 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.772/2.772, allocations: 476.7 MB / 0.7637 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 75.88 kB / 1.108 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 168.7 MB / 1.273 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002746/1.055, allocations: 1.476 MB / 1.274 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004321/1.055, allocations: 147.5 kB / 1.274 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/1.055, allocations: 4 kB / 1.274 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.212e-05/1.055, allocations: 3.938 kB / 1.274 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.569e-05/1.055, allocations: 11.92 kB / 1.274 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/1.055, allocations: 27.91 kB / 1.274 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/1.055, allocations: 43.84 kB / 1.275 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/1.056, allocations: 16 kB / 1.275 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.661e-05/1.056, allocations: 15.92 kB / 1.275 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/1.056, allocations: 23.91 kB / 1.275 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/1.056, allocations: 4 kB / 1.275 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.596e-05/1.056, allocations: 31.97 kB / 1.275 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/1.056, allocations: 8 kB / 1.275 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/1.056, allocations: 19.86 kB / 1.275 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/1.056, allocations: 73.42 kB / 1.275 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.056, allocations: 0 / 1.275 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/1.056, allocations: 0 / 1.275 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.06e-06/1.056, allocations: 0 / 1.275 GB, free: 2.387 MB / 0.9669 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.0005345/1.056, allocations: 363.2 kB / 1.275 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/1.057, allocations: 11.97 kB / 1.275 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/1.057, allocations: 42.75 kB / 1.275 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/1.058, allocations: 212.5 kB / 1.275 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/1.058, allocations: 172.4 kB / 1.275 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/1.058, allocations: 384 / 1.275 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/1.058, allocations: 4.375 kB / 1.275 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/1.059, allocations: 194 kB / 1.276 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/1.059, allocations: 3.938 kB / 1.276 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/1.059, allocations: 0 / 1.276 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/1.059, allocations: 4 kB / 1.276 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009172/1.059, allocations: 287.5 kB / 1.276 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009668/1.06, allocations: 433.4 kB / 1.276 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/1.062, allocations: 290.2 kB / 1.277 GB, free: 252 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/1.062, allocations: 96.8 kB / 1.277 GB, free: 152 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/1.062, allocations: 7.938 kB / 1.277 GB, free: 144 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/1.062, allocations: 30.56 kB / 1.277 GB, free: 104 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/1.062, allocations: 0 / 1.277 GB, free: 104 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.00126/1.063, allocations: 309.3 kB / 1.277 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/1.063, allocations: 51.41 kB / 1.277 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/1.064, allocations: 129.7 kB / 1.277 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.064, allocations: 25.7 kB / 1.277 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/1.064, allocations: 88.08 kB / 1.277 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/1.064, allocations: 15.91 kB / 1.277 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/1.064, allocations: 21.7 kB / 1.277 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.064, allocations: 318.8 kB / 1.278 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/1.064, allocations: 99.8 kB / 1.278 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/1.065, allocations: 95.88 kB / 1.278 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/1.065, allocations: 176.9 kB / 1.278 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.065, allocations: 0 / 1.278 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007768/1.066, allocations: 209.5 kB / 1.278 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.066, allocations: 8 kB / 1.278 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.066, allocations: 0 / 1.278 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/1.066, allocations: 0 / 1.278 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/1.066, allocations: 35.94 kB / 1.278 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.066, allocations: 3.938 kB / 1.278 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/1.067, allocations: 35.91 kB / 1.278 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/1.067, allocations: 4 kB / 1.278 GB, free: 14.45 MB / 0.9825 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 9.835e-05/1.067, allocations: 117.8 kB / 1.278 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/1.067, allocations: 0 / 1.278 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/1.067, allocations: 11.91 kB / 1.278 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/1.067, allocations: 0 / 1.278 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.067, allocations: 0 / 1.278 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/1.067, allocations: 4 kB / 1.278 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/1.067, allocations: 209.5 kB / 1.279 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.067, allocations: 0 / 1.279 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/1.067, allocations: 35.94 kB / 1.279 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.067, allocations: 0 / 1.279 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/1.067, allocations: 0 / 1.279 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/1.067, allocations: 8 kB / 1.279 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.067, allocations: 0 / 1.279 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008399/1.068, allocations: 319.1 kB / 1.279 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/1.068, allocations: 85.05 kB / 1.279 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/1.068, allocations: 3.938 kB / 1.279 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/1.068, allocations: 35.95 kB / 1.279 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/1.068, allocations: 0 / 1.279 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/1.068, allocations: 0 / 1.279 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.445e-05/1.069, allocations: 99.58 kB / 1.279 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/1.069, allocations: 0 / 1.279 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002406/1.069, allocations: 15.94 kB / 1.279 GB, free: 13.42 MB / 0.9825 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.001162/1.07, allocations: 0.8416 MB / 1.28 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008236/1.071, allocations: 203.7 kB / 1.28 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.071, allocations: 0 / 1.28 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003773/1.071, allocations: 91.88 kB / 1.28 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/1.071, allocations: 12 kB / 1.28 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/1.075, allocations: 1.846 MB / 1.282 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/1.075, allocations: 0.6924 MB / 1.283 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.37e-05/1.075, allocations: 12 kB / 1.283 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/1.076, allocations: 27.36 kB / 1.283 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/1.076, allocations: 4 kB / 1.283 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/1.101, allocations: 1.958 MB / 1.285 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/9.053, allocations: 4.234 kB / 1.285 GB, free: 7.691 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.233551183249801]