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.001924/0.001924, allocations: 108.1 kB / 16.27 MB, free: 6.41 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.002477/0.002477, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.313/2.313, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 65.72 kB / 0.8132 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2523, allocations: 140.4 MB / 0.9503 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00323/0.2556, allocations: 1.465 MB / 0.9517 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004409/0.256, allocations: 140.4 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.2561, allocations: 0 / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.746e-05/0.2562, allocations: 0 / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.323e-05/0.2563, allocations: 11.92 kB / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.2565, allocations: 27.91 kB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.2567, allocations: 35.92 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.2568, allocations: 27.92 kB / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.2569, allocations: 15.98 kB / 0.9519 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.415e-05/0.2569, allocations: 31.78 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.257, allocations: 4 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.2571, allocations: 31.97 kB / 0.952 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.2571, allocations: 8 kB / 0.952 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.2571, allocations: 23.88 kB / 0.952 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.2573, allocations: 59.84 kB / 0.9521 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2573, allocations: 0 / 0.9521 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2573, allocations: 0 / 0.9521 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.2573, allocations: 0 / 0.9521 GB, free: 7.012 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.0005185/0.2579, allocations: 367.6 kB / 0.9524 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.2579, allocations: 12.03 kB / 0.9525 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.2591, allocations: 208.6 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.2593, allocations: 180.2 kB / 0.9528 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2593, allocations: 384 / 0.9528 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.2593, allocations: 4.375 kB / 0.9528 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.26, allocations: 198 kB / 0.953 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.26, allocations: 192 / 0.953 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.26, allocations: 7.922 kB / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2601, allocations: 3.938 kB / 0.953 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008771/0.2609, allocations: 279.6 kB / 0.9533 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.262, allocations: 441.1 kB / 0.9537 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.2632, allocations: 294.1 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.2636, allocations: 100.8 kB / 0.9541 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.2636, allocations: 4 kB / 0.9541 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.2636, allocations: 34.56 kB / 0.9541 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.923e-06/0.2636, allocations: 0 / 0.9541 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.001215/0.2649, allocations: 309.2 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.2649, allocations: 55.41 kB / 0.9545 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.265, allocations: 117.8 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.2651, allocations: 29.7 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.2651, allocations: 88.12 kB / 0.9547 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.2652, allocations: 11.84 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.2652, allocations: 17.72 kB / 0.9547 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2654, allocations: 322.8 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.2658, allocations: 91.88 kB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.2661, allocations: 95.88 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006878/0.2668, allocations: 176.6 kB / 0.9554 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2668, allocations: 0 / 0.9554 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007514/0.2676, allocations: 217.4 kB / 0.9556 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2676, allocations: 4 kB / 0.9556 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2676, allocations: 0 / 0.9556 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2676, allocations: 3.938 kB / 0.9556 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.2679, allocations: 31.95 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2679, allocations: 0 / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.2681, allocations: 40.31 kB / 0.9557 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.2682, allocations: 0 / 0.9557 GB, free: 3.117 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.0001088/0.2683, allocations: 119.7 kB / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.2683, allocations: 8 kB / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.2684, allocations: 11.83 kB / 0.9558 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2684, allocations: 0 / 0.9558 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2684, allocations: 4 kB / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2684, allocations: 4 kB / 0.9558 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.2686, allocations: 209.4 kB / 0.956 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2686, allocations: 4 kB / 0.956 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.2689, allocations: 31.95 kB / 0.956 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2689, allocations: 0 / 0.956 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.2689, allocations: 7.984 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2689, allocations: 3.984 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2689, allocations: 0 / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008343/0.2698, allocations: 319.5 kB / 0.9564 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.2698, allocations: 81.02 kB / 0.9564 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.2698, allocations: 4 kB / 0.9564 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.2701, allocations: 31.95 kB / 0.9565 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.2701, allocations: 3.984 kB / 0.9565 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.2701, allocations: 4 kB / 0.9565 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.381e-05/0.2702, allocations: 91.27 kB / 0.9566 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2702, allocations: 0 / 0.9566 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002642/0.2705, allocations: 16 kB / 0.9566 GB, free: 2.082 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.0001166/0.2706, allocations: 99.19 kB / 0.9567 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008082/0.2714, allocations: 203.7 kB / 0.9569 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2715, allocations: 0 / 0.9569 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.2718, allocations: 99.88 kB / 0.957 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.2721, allocations: 6.344 kB / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.2731, allocations: 287 kB / 0.9572 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.2734, allocations: 0.6807 MB / 0.9579 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.2735, allocations: 15.42 kB / 0.9579 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.2735, allocations: 0 / 0.9579 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of Templates: time 0.002743/0.2763, allocations: 1.176 MB / 0.9591 GB, free: 15.46 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