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: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 109.2 kB / 16.41 MB, free: 6.465 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.001814/0.001814, allocations: 187 kB / 17.34 MB, free: 5.719 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.14 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.25/2.25, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8825/0.8838, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002745/0.8866, allocations: 1.459 MB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000394/0.8871, allocations: 144.4 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.8871, allocations: 5.156 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.753e-05/0.8872, allocations: 5.062 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.463e-05/0.8872, allocations: 1.469 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.8875, allocations: 29.23 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.8876, allocations: 38.86 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.8878, allocations: 29.05 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.789e-05/0.8878, allocations: 17.14 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.972e-05/0.8879, allocations: 21.77 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.8879, allocations: 4.312 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.271e-05/0.888, allocations: 28.48 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.888, allocations: 11.92 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.888, allocations: 22.38 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.8882, allocations: 65.38 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.8882, allocations: 0 / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.424e-06/0.8882, allocations: 1.672 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.8882, allocations: 0 / 1.09 GB, free: 4.297 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.0004241/0.8887, allocations: 361.7 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.8887, allocations: 9.562 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.8899, allocations: 212.7 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.089e-05/0.89, allocations: 170.9 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.89, allocations: 9.469 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.89, allocations: 6.312 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.8906, allocations: 200.4 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.8906, allocations: 0.9844 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.8907, allocations: 4.438 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.8907, allocations: 1.219 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009189/0.8916, allocations: 277.6 kB / 1.092 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008998/0.8925, allocations: 439.5 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.8937, allocations: 292.9 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.894, allocations: 98.78 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.8941, allocations: 4.797 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.8941, allocations: 31.44 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/0.8941, allocations: 1 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.001219/0.8953, allocations: 314.6 kB / 1.093 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.8954, allocations: 52.5 kB / 1.093 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.905e-05/0.8955, allocations: 118.9 kB / 1.093 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.8955, allocations: 25.7 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.8955, allocations: 91.19 kB / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.8955, allocations: 6.797 kB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.8956, allocations: 19.7 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.8957, allocations: 322.7 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.8961, allocations: 92.02 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.8964, allocations: 96.33 kB / 1.094 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007083/0.8971, allocations: 173.2 kB / 1.094 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8972, allocations: 0 / 1.094 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007697/0.8979, allocations: 224.3 kB / 1.094 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.898, allocations: 4.656 kB / 1.094 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.898, allocations: 0.9688 kB / 1.094 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.898, allocations: 0.6562 kB / 1.094 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.8983, allocations: 33.22 kB / 1.094 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.8983, allocations: 0.7812 kB / 1.094 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.8985, allocations: 34.72 kB / 1.094 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.8985, allocations: 2.875 kB / 1.094 GB, free: 2.293 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 7.221e-05/0.8986, allocations: 116.9 kB / 1.094 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.8986, allocations: 5.938 kB / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.333e-05/0.8987, allocations: 11.61 kB / 1.094 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.8987, allocations: 1.609 kB / 1.094 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8987, allocations: 7.938 kB / 1.094 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8987, allocations: 4.844 kB / 1.094 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.8989, allocations: 216.7 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8989, allocations: 0.7031 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.8991, allocations: 31.98 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8992, allocations: 1.891 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.8992, allocations: 1.703 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.8992, allocations: 0 / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.8992, allocations: 5.547 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007936/0.9, allocations: 310.6 kB / 1.095 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.9, allocations: 83.45 kB / 1.095 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.9001, allocations: 5.453 kB / 1.095 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.9003, allocations: 34.7 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.9003, allocations: 3.078 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.9004, allocations: 2.047 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.805e-05/0.9004, allocations: 93.61 kB / 1.095 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.9004, allocations: 0 / 1.095 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002474/0.9007, allocations: 12.72 kB / 1.095 GB, free: 1.574 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.0001112/0.9008, allocations: 103.5 kB / 1.095 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008255/0.9016, allocations: 201.9 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9016, allocations: 0 / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003941/0.902, allocations: 99.45 kB / 1.095 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.9023, allocations: 7 kB / 1.095 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.9034, allocations: 281.1 kB / 1.096 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.9036, allocations: 0.6897 MB / 1.096 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.9037, allocations: 12.39 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of SimCode: time 4.51e-07/0.9037, allocations: 0.625 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of Templates: time 0.003447/0.9071, allocations: 1.174 MB / 1.097 GB, free: 0.4922 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.makefile (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 & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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