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.00138/0.00138, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001318/0.001318, allocations: 191.9 kB / 16.25 MB, free: 6.586 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.439/1.439, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.438/2.438, allocations: 390.2 MB / 0.6643 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9386/0.94, allocations: 140.4 MB / 0.9491 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003095/0.9432, allocations: 1.519 MB / 0.9506 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009409/0.9441, allocations: 0.5502 MB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.9442, allocations: 1.375 kB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.9442, allocations: 3.938 kB / 0.9511 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.604e-05/0.9443, allocations: 0 / 0.9511 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.9446, allocations: 52.39 kB / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.139e-05/0.9447, allocations: 26.92 kB / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.9448, allocations: 12.05 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.026e-05/0.9449, allocations: 17.42 kB / 0.9512 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.863e-05/0.9449, allocations: 12.06 kB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.945, allocations: 1.375 kB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.9451, allocations: 55.45 kB / 0.9513 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.9451, allocations: 7.969 kB / 0.9513 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.9451, allocations: 14.62 kB / 0.9513 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.9453, allocations: 67.23 kB / 0.9514 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9453, allocations: 3.938 kB / 0.9514 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9453, allocations: 0 / 0.9514 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.9453, allocations: 0 / 0.9514 GB, free: 7.312 MB / 0.7169 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.0004093/0.9457, allocations: 352.9 kB / 0.9517 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.9458, allocations: 10.59 kB / 0.9517 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.9458, allocations: 2.125 kB / 0.9517 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.497e-05/0.9459, allocations: 166.1 kB / 0.9519 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.9459, allocations: 1.375 kB / 0.9519 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.946, allocations: 9.406 kB / 0.9519 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.9461, allocations: 41.88 kB / 0.9519 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.9461, allocations: 1.531 kB / 0.9519 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.9461, allocations: 4 kB / 0.9519 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.9462, allocations: 3.984 kB / 0.9519 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.86e-05/0.9463, allocations: 20.45 kB / 0.952 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.9466, allocations: 251 kB / 0.9522 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.202e-05/0.9467, allocations: 36.62 kB / 0.9522 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.9468, allocations: 14.39 kB / 0.9523 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007341/0.9475, allocations: 472 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.9476, allocations: 35.91 kB / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.895e-06/0.9476, allocations: 0 / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002665/0.9478, allocations: 67.02 kB / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.9479, allocations: 56.5 kB / 0.9529 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.948, allocations: 107.2 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.948, allocations: 25.7 kB / 0.953 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.948, allocations: 93.92 kB / 0.9531 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.948, allocations: 4.953 kB / 0.9531 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.9481, allocations: 16.44 kB / 0.9531 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.9482, allocations: 312.3 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.9482, allocations: 9.797 kB / 0.9534 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.363e-05/0.9483, allocations: 10.06 kB / 0.9534 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.473e-05/0.9483, allocations: 36.53 kB / 0.9534 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9483, allocations: 1.219 kB / 0.9534 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000105/0.9485, allocations: 53.88 kB / 0.9535 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.9485, allocations: 9.484 kB / 0.9535 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.9485, allocations: 0 / 0.9535 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.9485, allocations: 1.344 kB / 0.9535 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.9486, allocations: 3.812 kB / 0.9535 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.9486, allocations: 0 / 0.9535 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.9486, allocations: 6.219 kB / 0.9535 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.9487, allocations: 4.875 kB / 0.9535 GB, free: 5.023 MB / 0.7169 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 8.079e-05/0.9487, allocations: 119.2 kB / 0.9536 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.9488, allocations: 2.281 kB / 0.9536 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.9489, allocations: 73.2 kB / 0.9537 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.9489, allocations: 1.562 kB / 0.9537 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.949, allocations: 0 / 0.9537 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.949, allocations: 3.984 kB / 0.9537 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.9491, allocations: 164.8 kB / 0.9539 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9491, allocations: 4.031 kB / 0.9539 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.9491, allocations: 7.703 kB / 0.9539 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.9491, allocations: 1.75 kB / 0.9539 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.9492, allocations: 0 / 0.9539 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9492, allocations: 0 / 0.9539 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9492, allocations: 0.6875 kB / 0.9539 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.9493, allocations: 160.4 kB / 0.954 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.9493, allocations: 82.39 kB / 0.9541 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.9494, allocations: 1.188 kB / 0.9541 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.765e-05/0.9494, allocations: 1.969 kB / 0.9541 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.9495, allocations: 5.219 kB / 0.9541 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.9495, allocations: 5.172 kB / 0.9541 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.341e-05/0.9495, allocations: 89.95 kB / 0.9542 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9495, allocations: 0 / 0.9542 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002258/0.9497, allocations: 15.53 kB / 0.9542 GB, free: 4.27 MB / 0.7169 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.0001877/0.9499, allocations: 116.7 kB / 0.9543 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.9501, allocations: 22.36 kB / 0.9544 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.9501, allocations: 0 / 0.9544 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.9501, allocations: 20.17 kB / 0.9544 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.9504, allocations: 5.5 kB / 0.9544 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.9507, allocations: 134.3 kB / 0.9545 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.9508, allocations: 0.6829 MB / 0.9552 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.42e-05/0.9508, allocations: 1.125 kB / 0.9552 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.9509, allocations: 8.469 kB / 0.9552 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.9509, allocations: 1.031 kB / 0.9552 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of Templates: time 0.003117/0.954, allocations: 0.648 MB / 0.9558 GB, free: 2.969 MB / 0.7169 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches