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.00209/0.00209, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.00247/0.00247, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.299/2.299, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 67.42 kB / 0.8127 GB, free: 32.46 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2831, allocations: 140.4 MB / 0.9498 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002917/0.286, allocations: 1.535 MB / 0.9513 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004009/0.2865, allocations: 132.5 kB / 0.9514 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.2865, allocations: 0 / 0.9514 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.316e-05/0.2866, allocations: 3.984 kB / 0.9514 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.107e-05/0.2867, allocations: 7.938 kB / 0.9514 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.2869, allocations: 23.97 kB / 0.9514 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.596e-05/0.287, allocations: 39.86 kB / 0.9515 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2872, allocations: 27.98 kB / 0.9515 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.958e-05/0.2872, allocations: 15.98 kB / 0.9515 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.37e-05/0.2873, allocations: 19.86 kB / 0.9515 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.2873, allocations: 4 kB / 0.9515 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.058e-05/0.2874, allocations: 35.95 kB / 0.9516 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.2874, allocations: 8 kB / 0.9516 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.2875, allocations: 19.88 kB / 0.9516 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.2876, allocations: 47.92 kB / 0.9516 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2876, allocations: 0 / 0.9516 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2876, allocations: 0 / 0.9516 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.2876, allocations: 0 / 0.9516 GB, free: 7.336 MB / 0.7325 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.0004643/0.2881, allocations: 367.5 kB / 0.952 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2881, allocations: 12.03 kB / 0.952 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.2892, allocations: 212.5 kB / 0.9522 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.2894, allocations: 172.2 kB / 0.9524 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2894, allocations: 384 / 0.9524 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.2894, allocations: 4.375 kB / 0.9524 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/0.2899, allocations: 194 kB / 0.9526 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.29, allocations: 192 / 0.9526 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.29, allocations: 3.938 kB / 0.9526 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.29, allocations: 4 kB / 0.9526 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007972/0.2908, allocations: 283.5 kB / 0.9528 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008868/0.2917, allocations: 449.1 kB / 0.9533 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.2928, allocations: 286.2 kB / 0.9535 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.2931, allocations: 100.8 kB / 0.9536 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.2932, allocations: 4 kB / 0.9536 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2932, allocations: 38.5 kB / 0.9537 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.2932, allocations: 0 / 0.9537 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.00119/0.2944, allocations: 309.2 kB / 0.954 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.2945, allocations: 51.41 kB / 0.954 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.2946, allocations: 125.8 kB / 0.9541 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.2946, allocations: 25.7 kB / 0.9542 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.2947, allocations: 92.2 kB / 0.9542 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.2947, allocations: 7.844 kB / 0.9543 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.2948, allocations: 25.7 kB / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2949, allocations: 314.8 kB / 0.9546 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.2953, allocations: 95.88 kB / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.2956, allocations: 95.81 kB / 0.9548 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006399/0.2963, allocations: 176.9 kB / 0.9549 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2963, allocations: 0 / 0.9549 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007096/0.297, allocations: 225.3 kB / 0.9551 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.297, allocations: 6.344 kB / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.297, allocations: 0 / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2971, allocations: 0 / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.2973, allocations: 31.95 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.2973, allocations: 7.969 kB / 0.9552 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.2975, allocations: 31.95 kB / 0.9552 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.2976, allocations: 0 / 0.9552 GB, free: 3.438 MB / 0.7325 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 0.000114/0.2977, allocations: 121.7 kB / 0.9553 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.2977, allocations: 7.984 kB / 0.9553 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.2978, allocations: 3.906 kB / 0.9553 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2978, allocations: 4 kB / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.2978, allocations: 0 / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2978, allocations: 7.938 kB / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.298, allocations: 213.4 kB / 0.9556 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.298, allocations: 0 / 0.9556 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.2983, allocations: 39.94 kB / 0.9556 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2983, allocations: 0 / 0.9556 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.2983, allocations: 4 kB / 0.9556 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2983, allocations: 0 / 0.9556 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2983, allocations: 0 / 0.9556 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007712/0.2991, allocations: 311.2 kB / 0.9559 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.2992, allocations: 81.02 kB / 0.956 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.2992, allocations: 4.312 kB / 0.956 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.2994, allocations: 35.94 kB / 0.956 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.2995, allocations: 0 / 0.956 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2995, allocations: 4 kB / 0.956 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.673e-05/0.2995, allocations: 99.2 kB / 0.9561 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2995, allocations: 0 / 0.9561 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002381/0.2998, allocations: 12 kB / 0.9561 GB, free: 2.406 MB / 0.7325 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.00012/0.2999, allocations: 99.19 kB / 0.9562 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007423/0.3007, allocations: 199.7 kB / 0.9564 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3007, allocations: 0 / 0.9564 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.301, allocations: 107.8 kB / 0.9565 GB, free: 2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.3013, allocations: 10.66 kB / 0.9565 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008885/0.3022, allocations: 294.7 kB / 0.9568 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.3024, allocations: 0.6885 MB / 0.9575 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.3025, allocations: 11.44 kB / 0.9575 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of SimCode: time 4.4e-07/0.3025, allocations: 4 kB / 0.9575 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of Templates: time 0.00261/0.3051, allocations: 1.167 MB / 0.9586 GB, free: 15.77 MB / 0.7481 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