Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 104.4 kB / 15.98 MB, free: 6.359 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.001664/0.001664, allocations: 199.3 kB / 16.91 MB, free: 6.191 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.481/1.481, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.317/2.317, allocations: 390.2 MB / 0.665 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 64.86 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2564, allocations: 140.4 MB / 0.9498 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002678/0.2591, allocations: 1.527 MB / 0.9513 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009311/0.26, allocations: 0.5424 MB / 0.9518 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.2601, allocations: 0 / 0.9518 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.2602, allocations: 3.984 kB / 0.9518 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.333e-05/0.2602, allocations: 7.938 kB / 0.9518 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.2605, allocations: 47.91 kB / 0.9519 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.2606, allocations: 27.86 kB / 0.9519 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.922e-05/0.2607, allocations: 4 kB / 0.9519 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.582e-05/0.2608, allocations: 19.97 kB / 0.9519 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.877e-05/0.2608, allocations: 15.92 kB / 0.9519 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.2609, allocations: 0 / 0.9519 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.261, allocations: 51.97 kB / 0.952 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.261, allocations: 7.922 kB / 0.952 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.261, allocations: 19.92 kB / 0.952 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.2612, allocations: 39.95 kB / 0.952 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2612, allocations: 0 / 0.952 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2612, allocations: 0 / 0.952 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2612, allocations: 0 / 0.952 GB, free: 6.949 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004182/0.2616, allocations: 351.6 kB / 0.9524 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2617, allocations: 8.031 kB / 0.9524 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.2617, allocations: 4.938 kB / 0.9524 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.2618, allocations: 172.2 kB / 0.9525 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.2618, allocations: 4.375 kB / 0.9525 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.2619, allocations: 4.375 kB / 0.9526 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.262, allocations: 49.98 kB / 0.9526 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.262, allocations: 3.938 kB / 0.9526 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.262, allocations: 0 / 0.9526 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.262, allocations: 0 / 0.9526 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.633e-05/0.2621, allocations: 19.98 kB / 0.9526 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.2625, allocations: 260.8 kB / 0.9529 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.89e-05/0.2626, allocations: 34.52 kB / 0.9529 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.2626, allocations: 12.91 kB / 0.9529 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008028/0.2634, allocations: 485.3 kB / 0.9534 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.2635, allocations: 34.56 kB / 0.9534 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.773e-06/0.2635, allocations: 0 / 0.9534 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002438/0.2638, allocations: 65.53 kB / 0.9535 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.2638, allocations: 55.41 kB / 0.9535 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.031e-05/0.2639, allocations: 109.8 kB / 0.9536 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.2639, allocations: 29.7 kB / 0.9537 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.264, allocations: 92.25 kB / 0.9537 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.264, allocations: 3.906 kB / 0.9538 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.264, allocations: 13.72 kB / 0.9538 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.2641, allocations: 318.8 kB / 0.9541 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.2642, allocations: 8 kB / 0.9541 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-05/0.2642, allocations: 7.984 kB / 0.9541 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.96e-05/0.2643, allocations: 32.86 kB / 0.9541 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2643, allocations: 0 / 0.9541 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001243/0.2644, allocations: 57.61 kB / 0.9542 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2645, allocations: 8 kB / 0.9542 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2645, allocations: 0 / 0.9542 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2645, allocations: 0 / 0.9542 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/0.2646, allocations: 4 kB / 0.9542 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.2646, allocations: 0 / 0.9542 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.2646, allocations: 7.984 kB / 0.9542 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.2646, allocations: 4.031 kB / 0.9542 GB, free: 4.418 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 (2): * Single equations (assignments): 2 * 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.099e-05/0.2647, allocations: 109.8 kB / 0.9543 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.2647, allocations: 8 kB / 0.9543 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.2649, allocations: 69.09 kB / 0.9544 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2649, allocations: 0 / 0.9544 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2649, allocations: 3.938 kB / 0.9544 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2649, allocations: 0 / 0.9544 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.2651, allocations: 177.6 kB / 0.9545 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2651, allocations: 0 / 0.9545 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.2652, allocations: 4 kB / 0.9545 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2652, allocations: 0 / 0.9545 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.2652, allocations: 0 / 0.9545 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2652, allocations: 0 / 0.9545 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2652, allocations: 4 kB / 0.9546 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.2654, allocations: 151.5 kB / 0.9547 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.2654, allocations: 77.11 kB / 0.9548 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.2654, allocations: 4 kB / 0.9548 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.2655, allocations: 7.984 kB / 0.9548 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.2655, allocations: 0 / 0.9548 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.2655, allocations: 0 / 0.9548 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.2656, allocations: 91.22 kB / 0.9549 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.402e-06/0.2656, allocations: 0 / 0.9549 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002458/0.2658, allocations: 23.92 kB / 0.9549 GB, free: 3.598 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 (2): * Single equations (assignments): 2 * 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.0001666/0.266, allocations: 115.3 kB / 0.955 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.2662, allocations: 27.97 kB / 0.955 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2662, allocations: 0 / 0.955 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.2662, allocations: 12 kB / 0.955 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.2664, allocations: 3.938 kB / 0.955 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.2668, allocations: 164.3 kB / 0.9552 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.267, allocations: 0.6805 MB / 0.9559 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.267, allocations: 11.42 kB / 0.9559 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.267, allocations: 4 kB / 0.9559 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of Templates: time 0.00223/0.2693, allocations: 0.8064 MB / 0.9567 GB, free: 1.715 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches