Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001458/0.001458, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001619/0.001619, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 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.9981/0.9981, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.528/2.528, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.949e-06/4.949e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.328e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002926/0.002949, allocations: 1.565 MB / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.00402, allocations: 0.6035 MB / 0.8408 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.004085, allocations: 4 kB / 0.8408 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.00412, allocations: 3.938 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.291e-05/0.004183, allocations: 7.875 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.004489, allocations: 55.81 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.004595, allocations: 27.86 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.004681, allocations: 7.984 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.004825, allocations: 27.91 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.004874, allocations: 7.938 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.004888, allocations: 4 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.005034, allocations: 59.94 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.005046, allocations: 0 / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.005069, allocations: 11.98 kB / 0.841 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.005257, allocations: 79.67 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.00526, allocations: 0 / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.01e-07/0.005261, allocations: 0 / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.005265, allocations: 0 / 0.841 GB, free: 11.68 MB / 0.8073 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.0003977/0.005663, allocations: 252.7 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.005715, allocations: 12.62 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004202/0.009916, allocations: 0.9843 MB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.01016, allocations: 121.7 kB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.01017, allocations: 4.359 kB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.0102, allocations: 384 / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.01122, allocations: 342.5 kB / 0.8427 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.01123, allocations: 192 / 0.8427 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.01126, allocations: 384 / 0.8427 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.01127, allocations: 3.938 kB / 0.8427 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.01153, allocations: 63.92 kB / 0.8428 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.01356, allocations: 0.5975 MB / 0.8433 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.01475, allocations: 290.4 kB / 0.8436 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.01492, allocations: 44.91 kB / 0.8437 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.01494, allocations: 0 / 0.8437 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.01497, allocations: 34.56 kB / 0.8437 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.01497, allocations: 0 / 0.8437 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0003675/0.01533, allocations: 125.6 kB / 0.8438 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.01537, allocations: 55.41 kB / 0.8439 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.01543, allocations: 114.7 kB / 0.844 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.01545, allocations: 25.7 kB / 0.844 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.01549, allocations: 92.12 kB / 0.8441 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.01552, allocations: 7.938 kB / 0.8441 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/0.01559, allocations: 21.69 kB / 0.8441 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.28e-05/0.01568, allocations: 314.8 kB / 0.8444 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.713e-05/0.01576, allocations: 32.02 kB / 0.8445 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.163e-05/0.01586, allocations: 27.98 kB / 0.8445 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.01599, allocations: 56.83 kB / 0.8445 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01599, allocations: 0 / 0.8445 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002231/0.01621, allocations: 89.66 kB / 0.8446 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.01623, allocations: 10.06 kB / 0.8446 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01624, allocations: 0 / 0.8446 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.01625, allocations: 3.938 kB / 0.8446 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.01683, allocations: 199.8 kB / 0.8448 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.01683, allocations: 3.984 kB / 0.8448 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.01729, allocations: 179.8 kB / 0.845 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.01731, allocations: 7.969 kB / 0.845 GB, free: 7.457 MB / 0.8073 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.426e-05/0.01739, allocations: 109.8 kB / 0.8451 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.01743, allocations: 4 kB / 0.8451 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.01747, allocations: 11.62 kB / 0.8451 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01748, allocations: 11.88 kB / 0.8451 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-06/0.01748, allocations: 3.938 kB / 0.8451 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.01748, allocations: 0 / 0.8451 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.01766, allocations: 125.8 kB / 0.8453 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01766, allocations: 0 / 0.8453 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/0.01818, allocations: 195.8 kB / 0.8454 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-06/0.01818, allocations: 0 / 0.8454 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.0182, allocations: 7.984 kB / 0.8455 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01821, allocations: 4 kB / 0.8455 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01821, allocations: 0 / 0.8455 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.01844, allocations: 183.5 kB / 0.8456 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.01845, allocations: 7.984 kB / 0.8456 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.01848, allocations: 3.984 kB / 0.8456 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.01895, allocations: 183.8 kB / 0.8458 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.01898, allocations: 7.938 kB / 0.8458 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.019, allocations: 3.984 kB / 0.8458 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.011e-05/0.01902, allocations: 21.16 kB / 0.8459 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01902, allocations: 0 / 0.8459 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001702/0.01919, allocations: 36 kB / 0.8459 GB, free: 6.512 MB / 0.8073 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 9.445e-05/0.01928, allocations: 79.8 kB / 0.846 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.01952, allocations: 80.81 kB / 0.846 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.01953, allocations: 0 / 0.846 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.01964, allocations: 44.83 kB / 0.8461 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.0198, allocations: 23.97 kB / 0.8461 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/0.02026, allocations: 168.6 kB / 0.8463 GB, free: 6.086 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.597e-05/0.02029, allocations: 55.36 kB / 0.8463 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001685/0.02046, allocations: 35.98 kB / 0.8464 GB, free: 5.977 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.02066, allocations: 63.34 kB / 0.8464 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of SimCode: time 6.62e-07/0.02066, allocations: 0 / 0.8464 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of Templates: time 0.003889/0.02455, allocations: 2.804 MB / 0.8492 GB, free: 3.09 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.435402066912502]