Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008826/0.008826, allocations: 100.5 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 186.7 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 64.25 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2915, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002595/0.2941, allocations: 1.451 MB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004019/0.2945, allocations: 148.4 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.2946, allocations: 4 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.2946, allocations: 0 / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.306e-05/0.2947, allocations: 11.92 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.295, allocations: 31.89 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2951, allocations: 39.86 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2952, allocations: 23.98 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.2953, allocations: 19.92 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.614e-05/0.2953, allocations: 23.86 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.2953, allocations: 4 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.2954, allocations: 27.97 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.2955, allocations: 15.92 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.2955, allocations: 15.94 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.2956, allocations: 67.78 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2957, allocations: 0 / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2957, allocations: 4 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2957, allocations: 0 / 1.089 GB, free: 116 kB / 0.8419 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.0004804/0.2962, allocations: 355.1 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2962, allocations: 12.03 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.2962, allocations: 34.73 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.2974, allocations: 212.5 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2975, allocations: 172.3 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.2975, allocations: 384 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.2975, allocations: 8.375 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/0.2981, allocations: 190 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2981, allocations: 7.938 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.2982, allocations: 4 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2982, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008783/0.2991, allocations: 275.6 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009421/0.3, allocations: 453.1 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.3012, allocations: 286.1 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/0.3015, allocations: 104.8 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.3016, allocations: 11.88 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3016, allocations: 34.56 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3016, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.001206/0.3028, allocations: 313.2 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.3029, allocations: 51.41 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.463e-05/0.303, allocations: 117.8 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.303, allocations: 25.7 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.303, allocations: 96.06 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.3031, allocations: 3.906 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.3031, allocations: 17.72 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.3032, allocations: 322.8 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.3036, allocations: 99.88 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.304, allocations: 88.06 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006974/0.3047, allocations: 180.7 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3047, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007767/0.3055, allocations: 221.3 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3055, allocations: 7.984 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3055, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3055, allocations: 4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.3058, allocations: 27.95 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3058, allocations: 0 / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.306, allocations: 27.95 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.306, allocations: 11.98 kB / 1.093 GB, free: 12.18 MB / 0.8575 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 8.818e-05/0.3061, allocations: 117.8 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.3062, allocations: 7.906 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/0.3062, allocations: 15.89 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3062, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3062, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3062, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.3065, allocations: 205.5 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3065, allocations: 4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.3067, allocations: 35.95 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.3067, allocations: 384 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.3067, allocations: 7.922 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.3068, allocations: 3.938 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3068, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.3076, allocations: 315.2 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.3076, allocations: 85.02 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.3077, allocations: 0 / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3079, allocations: 23.95 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.3079, allocations: 11.98 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.308, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.774e-05/0.308, allocations: 99.27 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.308, allocations: 0 / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002402/0.3083, allocations: 15.94 kB / 1.094 GB, free: 11.15 MB / 0.8575 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.001054/0.3093, allocations: 0.8371 MB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007875/0.3101, allocations: 199.7 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3101, allocations: 0 / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.3105, allocations: 99.81 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.3108, allocations: 9.859 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/0.3142, allocations: 1.842 MB / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.3145, allocations: 0.6885 MB / 1.097 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.077e-05/0.3146, allocations: 19.98 kB / 1.097 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.3147, allocations: 15.42 kB / 1.097 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3147, allocations: 0 / 1.097 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.3317, allocations: 1.985 MB / 1.099 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.748, allocations: 11.88 kB / 1.099 GB, free: 5.398 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches