Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001295/0.001295, allocations: 107 kB / 16.4 MB, free: 6.5 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.001294/0.001295, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.477/1.477, allocations: 222.9 MB / 245.1 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437.1 MB / 0.7171 GB, free: 4.094 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 63.89 kB / 1.027 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9801/0.9825, allocations: 151.6 MB / 1.175 GB, free: 17.47 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002526/0.985, allocations: 1.467 MB / 1.176 GB, free: 16.45 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003861/0.9854, allocations: 140.1 kB / 1.176 GB, free: 16.35 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.9855, allocations: 0 / 1.176 GB, free: 16.35 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.3e-05/0.9855, allocations: 4.734 kB / 1.176 GB, free: 16.35 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.642e-05/0.9856, allocations: 10.17 kB / 1.176 GB, free: 16.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.9858, allocations: 36.53 kB / 1.176 GB, free: 16.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.986, allocations: 42.64 kB / 1.176 GB, free: 16.3 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.9861, allocations: 25.91 kB / 1.176 GB, free: 16.29 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.9861, allocations: 16.78 kB / 1.176 GB, free: 16.28 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.629e-05/0.9862, allocations: 21.25 kB / 1.176 GB, free: 16.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.9862, allocations: 3.75 kB / 1.176 GB, free: 16.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.821e-05/0.9863, allocations: 33.47 kB / 1.176 GB, free: 16.26 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.9863, allocations: 11.94 kB / 1.176 GB, free: 16.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.9864, allocations: 22.06 kB / 1.176 GB, free: 16.24 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.9865, allocations: 67.7 kB / 1.177 GB, free: 16.21 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.9865, allocations: 0.7031 kB / 1.177 GB, free: 16.21 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.504e-06/0.9865, allocations: 0 / 1.177 GB, free: 16.21 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.9865, allocations: 3.938 kB / 1.177 GB, free: 16.21 MB / 0.92 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.0003961/0.9869, allocations: 370.4 kB / 1.177 GB, free: 15.82 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.987, allocations: 10.14 kB / 1.177 GB, free: 15.82 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.688e-05/0.987, allocations: 32.89 kB / 1.177 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.9882, allocations: 213.4 kB / 1.177 GB, free: 15.78 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.797e-05/0.9883, allocations: 167.8 kB / 1.177 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.9883, allocations: 2.359 kB / 1.177 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.9883, allocations: 2.719 kB / 1.177 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005828/0.9889, allocations: 191.8 kB / 1.177 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.9889, allocations: 3.938 kB / 1.177 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.9889, allocations: 1.5 kB / 1.177 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.989, allocations: 2.047 kB / 1.177 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008702/0.9898, allocations: 285.4 kB / 1.178 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008244/0.9907, allocations: 435.5 kB / 1.178 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.9919, allocations: 284.7 kB / 1.178 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.9922, allocations: 101.2 kB / 1.179 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.9923, allocations: 10.05 kB / 1.179 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.9923, allocations: 32.67 kB / 1.179 GB, free: 15.03 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.9923, allocations: 4 kB / 1.179 GB, free: 15.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.001235/0.9936, allocations: 305.2 kB / 1.179 GB, free: 14.95 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.9936, allocations: 57.19 kB / 1.179 GB, free: 14.88 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/0.9937, allocations: 118.5 kB / 1.179 GB, free: 14.78 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.9937, allocations: 26.08 kB / 1.179 GB, free: 14.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.9937, allocations: 96.72 kB / 1.179 GB, free: 14.65 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.9937, allocations: 13.42 kB / 1.179 GB, free: 14.64 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.9938, allocations: 20.09 kB / 1.179 GB, free: 14.62 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.9939, allocations: 325.9 kB / 1.18 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.9942, allocations: 100.6 kB / 1.18 GB, free: 14.28 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.9946, allocations: 92.02 kB / 1.18 GB, free: 14.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/0.9953, allocations: 172.9 kB / 1.18 GB, free: 14.23 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9953, allocations: 1.438 kB / 1.18 GB, free: 14.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007745/0.9961, allocations: 207.3 kB / 1.18 GB, free: 14.18 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.9961, allocations: 9.531 kB / 1.18 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9961, allocations: 0 / 1.18 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.9961, allocations: 1.5 kB / 1.18 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.9964, allocations: 40.53 kB / 1.18 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.9964, allocations: 0.5625 kB / 1.18 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.9966, allocations: 27.95 kB / 1.18 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.9966, allocations: 5.984 kB / 1.18 GB, free: 14.16 MB / 0.92 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 6.18e-05/0.9967, allocations: 124.1 kB / 1.18 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.9967, allocations: 7.109 kB / 1.18 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.9968, allocations: 7.453 kB / 1.18 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.9968, allocations: 0.7031 kB / 1.18 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.9968, allocations: 0 / 1.18 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.9968, allocations: 1.406 kB / 1.18 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.997, allocations: 207.6 kB / 1.18 GB, free: 13.81 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.997, allocations: 1.312 kB / 1.18 GB, free: 13.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.9972, allocations: 37.39 kB / 1.181 GB, free: 13.81 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.9972, allocations: 0 / 1.181 GB, free: 13.81 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.9973, allocations: 6.391 kB / 1.181 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.9973, allocations: 0 / 1.181 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9973, allocations: 1.125 kB / 1.181 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007876/0.9981, allocations: 319.1 kB / 1.181 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.9981, allocations: 79.44 kB / 1.181 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.9981, allocations: 2.406 kB / 1.181 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.9984, allocations: 26 kB / 1.181 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.9984, allocations: 2.531 kB / 1.181 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.9984, allocations: 2.234 kB / 1.181 GB, free: 13.54 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.9985, allocations: 102.2 kB / 1.181 GB, free: 13.45 MB / 0.92 GB Notification: Performance of sort global known variables: time 7.21e-07/0.9985, allocations: 288 / 1.181 GB, free: 13.45 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002417/0.9987, allocations: 19.75 kB / 1.181 GB, free: 13.45 MB / 0.92 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.001013/0.9997, allocations: 0.84 MB / 1.182 GB, free: 12.75 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008038/1.001, allocations: 205.6 kB / 1.182 GB, free: 12.71 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.001, allocations: 0 / 1.182 GB, free: 12.71 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003794/1.001, allocations: 100.4 kB / 1.182 GB, free: 12.7 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/1.001, allocations: 11.61 kB / 1.182 GB, free: 12.7 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/1.005, allocations: 1.838 MB / 1.184 GB, free: 11.4 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/1.005, allocations: 0.6953 MB / 1.185 GB, free: 10.7 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.309e-05/1.005, allocations: 20.61 kB / 1.185 GB, free: 10.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/1.005, allocations: 16.05 kB / 1.185 GB, free: 10.68 MB / 0.92 GB Notification: Performance of SimCode: time 8.21e-07/1.005, allocations: 0 / 1.185 GB, free: 10.68 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/1.028, allocations: 1.948 MB / 1.187 GB, free: 10.27 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/9.191, allocations: 12 kB / 1.187 GB, free: 10.27 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.10330401500687]