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.007683/0.007683, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001782/0.001782, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.32/2.32, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.095, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002416/1.097, allocations: 1.459 MB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003753/1.097, allocations: 149.5 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/1.097, allocations: 1.312 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/1.097, allocations: 0.5156 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.852e-05/1.098, allocations: 6.547 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/1.098, allocations: 31.88 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000101/1.098, allocations: 38.94 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/1.098, allocations: 21.19 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.634e-05/1.098, allocations: 17.17 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/1.098, allocations: 22.19 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/1.098, allocations: 4.156 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.46e-05/1.098, allocations: 40.94 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/1.098, allocations: 15.42 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/1.098, allocations: 18.28 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/1.098, allocations: 62.27 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.098, allocations: 0 / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/1.098, allocations: 0 / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.909e-06/1.098, allocations: 1.062 kB / 1.089 GB, free: 4.039 MB / 0.8575 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.0003831/1.099, allocations: 360 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/1.099, allocations: 13.34 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/1.099, allocations: 33.89 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/1.1, allocations: 216.8 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.799e-05/1.1, allocations: 167.3 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/1.1, allocations: 2.594 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/1.1, allocations: 7.062 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000576/1.101, allocations: 199.7 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.101, allocations: 4.547 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/1.101, allocations: 4.938 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/1.101, allocations: 5.031 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/1.102, allocations: 277.6 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/1.103, allocations: 436.4 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/1.104, allocations: 288.2 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/1.104, allocations: 101.9 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/1.104, allocations: 4.812 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/1.104, allocations: 32.39 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/1.104, allocations: 0 / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.001218/1.105, allocations: 315.4 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/1.105, allocations: 52.5 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.341e-05/1.106, allocations: 118.7 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/1.106, allocations: 25.7 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/1.106, allocations: 87.73 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/1.106, allocations: 14.78 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/1.106, allocations: 19.3 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.779e-05/1.106, allocations: 323.3 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/1.106, allocations: 90.92 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/1.106, allocations: 100.8 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007014/1.107, allocations: 169.4 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.107, allocations: 0 / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007715/1.108, allocations: 224.2 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.108, allocations: 5.062 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.108, allocations: 0 / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.108, allocations: 1.797 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/1.108, allocations: 32.7 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/1.108, allocations: 0.5156 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/1.109, allocations: 31.77 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/1.109, allocations: 6.078 kB / 1.093 GB, free: 1.988 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 6.826e-05/1.109, allocations: 120.1 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/1.109, allocations: 6.438 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/1.109, allocations: 12.34 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.109, allocations: 4.656 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.109, allocations: 0 / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.109, allocations: 5.328 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/1.109, allocations: 212.8 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.109, allocations: 0 / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/1.109, allocations: 33.36 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.109, allocations: 0 / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/1.109, allocations: 2.641 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.109, allocations: 0 / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.109, allocations: 4.812 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008338/1.11, allocations: 311.9 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/1.11, allocations: 83.06 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/1.11, allocations: 1.766 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/1.11, allocations: 34.91 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/1.11, allocations: 7.328 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/1.11, allocations: 1.469 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.459e-05/1.11, allocations: 92.98 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.11, allocations: 0 / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000237/1.111, allocations: 16.78 kB / 1.094 GB, free: 1.27 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.001061/1.112, allocations: 0.8435 MB / 1.095 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008457/1.113, allocations: 197.5 kB / 1.095 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.113, allocations: 0 / 1.095 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003948/1.113, allocations: 100.8 kB / 1.095 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/1.113, allocations: 10.38 kB / 1.095 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/1.117, allocations: 1.837 MB / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/1.117, allocations: 0.6913 MB / 1.097 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.587e-05/1.117, allocations: 19.92 kB / 1.097 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/1.117, allocations: 15.53 kB / 1.097 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of SimCode: time 4.51e-07/1.117, allocations: 5.031 kB / 1.097 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/1.135, allocations: 1.953 MB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.229/8.365, allocations: 8.656 kB / 1.099 GB, free: 14.09 MB / 0.8731 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