Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008151/0.0008151, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009314/0.0009314, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9851/0.9851, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.833/1.833, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.729e-05, allocations: 6.172 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001961/0.001979, allocations: 1.524 MB / 0.7615 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007089/0.002687, allocations: 0.6094 MB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.002731, allocations: 0 / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.002754, allocations: 3.938 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.516e-05/0.002799, allocations: 11.38 kB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.003023, allocations: 57.53 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.356e-05/0.003106, allocations: 31.31 kB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.211e-05/0.003168, allocations: 4.969 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.003277, allocations: 34.47 kB / 0.7622 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.201e-05/0.003319, allocations: 9.734 kB / 0.7622 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.003332, allocations: 4.812 kB / 0.7623 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.923e-05/0.003422, allocations: 55.94 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.003432, allocations: 4.469 kB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.337e-05/0.003445, allocations: 8.969 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.003557, allocations: 75.73 kB / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003559, allocations: 0 / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003559, allocations: 0.9688 kB / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.003563, allocations: 3.984 kB / 0.7624 GB, free: 4.215 MB / 0.7136 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.0002436/0.003807, allocations: 250 kB / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.003836, allocations: 8.031 kB / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.197e-05/0.003928, allocations: 16.92 kB / 0.7627 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.004031, allocations: 119.3 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-06/0.004038, allocations: 384 / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.004047, allocations: 4.359 kB / 0.7628 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.98e-05/0.004117, allocations: 46.95 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.004122, allocations: 0.8438 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.004128, allocations: 384 / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.004137, allocations: 8.688 kB / 0.7628 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.552e-05/0.004152, allocations: 0 / 0.7628 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.004307, allocations: 160.9 kB / 0.763 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.743e-05/0.004344, allocations: 24.59 kB / 0.763 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.034e-05/0.004354, allocations: 4.859 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/0.00459, allocations: 77.36 kB / 0.7631 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.004609, allocations: 38.55 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.00461, allocations: 0 / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.216e-05/0.004703, allocations: 42.83 kB / 0.7632 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.004729, allocations: 51.41 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.975e-05/0.004779, allocations: 115.9 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.004787, allocations: 25.7 kB / 0.7633 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.004817, allocations: 92.11 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.00483, allocations: 7.203 kB / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.004852, allocations: 17.66 kB / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.004922, allocations: 322.8 kB / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-06/0.004929, allocations: 0 / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-06/0.004936, allocations: 0 / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.004959, allocations: 12.86 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.004961, allocations: 0 / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.139e-05/0.005002, allocations: 37.62 kB / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.005013, allocations: 11.03 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.005016, allocations: 0 / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.005027, allocations: 3.938 kB / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.232e-05/0.00507, allocations: 4 kB / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.005072, allocations: 0 / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/0.005087, allocations: 11.94 kB / 0.7638 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.005092, allocations: 4 kB / 0.7638 GB, free: 2.586 MB / 0.7136 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 4.797e-05/0.00514, allocations: 111.3 kB / 0.764 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.005151, allocations: 0 / 0.764 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.852e-05/0.005219, allocations: 45.25 kB / 0.764 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.005222, allocations: 4.594 kB / 0.764 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.005223, allocations: 0 / 0.764 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.005226, allocations: 1.156 kB / 0.764 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.843e-05/0.005304, allocations: 73.88 kB / 0.7641 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005305, allocations: 0 / 0.7641 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/0.005321, allocations: 6.438 kB / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.005322, allocations: 0 / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-06/0.005326, allocations: 0 / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.005327, allocations: 0 / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.005329, allocations: 3.984 kB / 0.7641 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.009e-05/0.005389, allocations: 135.5 kB / 0.7642 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-06/0.005395, allocations: 7.078 kB / 0.7642 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.612e-06/0.005401, allocations: 0 / 0.7642 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.567e-05/0.005427, allocations: 4 kB / 0.7642 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.005447, allocations: 7.875 kB / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.005448, allocations: 0 / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.309e-05/0.005461, allocations: 16.84 kB / 0.7642 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.1e-08/0.005461, allocations: 0 / 0.7642 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000125/0.005586, allocations: 15.94 kB / 0.7643 GB, free: 2.117 MB / 0.7136 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.0001062/0.005693, allocations: 105.8 kB / 0.7644 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.413e-05/0.005737, allocations: 8.859 kB / 0.7644 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.00574, allocations: 4 kB / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-05/0.005751, allocations: 10.31 kB / 0.7644 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.39e-05/0.005845, allocations: 7.938 kB / 0.7644 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.006157, allocations: 134.9 kB / 0.7645 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.898e-05/0.006186, allocations: 55.34 kB / 0.7646 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.417e-05/0.0062, allocations: 4 kB / 0.7646 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.00623, allocations: 47.38 kB / 0.7646 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/0.006231, allocations: 6.125 kB / 0.7646 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of Templates: time 0.002042/0.008273, allocations: 0.7543 MB / 0.7654 GB, free: 0.9844 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.90934745175764]