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.0009784/0.0009784, 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.0009168/0.0009168, allocations: 181 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.9495/0.9495, allocations: 177.2 MB / 203.8 MB, free: 5.504 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.51/2.51, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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 1.482e-06/1.482e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.402e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002779/0.002803, allocations: 1.506 MB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009932/0.003796, allocations: 0.6113 MB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.003849, allocations: 0 / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.003876, allocations: 3.938 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.365e-05/0.00393, allocations: 11.88 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.004221, allocations: 51.81 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.004322, allocations: 35.86 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.623e-05/0.004398, allocations: 7.984 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.004527, allocations: 27.86 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.004575, allocations: 7.984 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.004589, allocations: 4 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.004709, allocations: 55.94 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.004721, allocations: 0 / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.004741, allocations: 11.94 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.004895, allocations: 71.72 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004897, allocations: 0 / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004898, allocations: 8 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.004901, allocations: 0 / 0.8409 GB, free: 11.75 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.0003095/0.00521, allocations: 256.7 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.005248, allocations: 12.62 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/0.009365, allocations: 0.9803 MB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.009575, allocations: 129.7 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.009587, allocations: 4.375 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.009611, allocations: 384 / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/0.01032, allocations: 334.5 kB / 0.8426 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.01033, allocations: 192 / 0.8426 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.01035, allocations: 384 / 0.8426 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.01035, allocations: 7.938 kB / 0.8426 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.01053, allocations: 67.91 kB / 0.8427 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.01182, allocations: 0.5975 MB / 0.8433 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006193/0.01244, allocations: 290.4 kB / 0.8435 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.536e-05/0.01253, allocations: 44.91 kB / 0.8436 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.01254, allocations: 0 / 0.8436 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.01256, allocations: 34.56 kB / 0.8436 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.01256, allocations: 3.938 kB / 0.8436 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0003117/0.01287, allocations: 121.6 kB / 0.8437 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.0129, allocations: 51.41 kB / 0.8438 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.393e-05/0.01295, allocations: 118.7 kB / 0.8439 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.01298, allocations: 25.7 kB / 0.8439 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.01301, allocations: 88.14 kB / 0.844 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.01304, allocations: 8.078 kB / 0.844 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/0.0131, allocations: 25.69 kB / 0.844 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.83e-05/0.01318, allocations: 318.8 kB / 0.8443 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.123e-05/0.01326, allocations: 27.98 kB / 0.8444 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.786e-05/0.01334, allocations: 28 kB / 0.8444 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.01346, allocations: 52.83 kB / 0.8444 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01346, allocations: 0 / 0.8444 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001869/0.01365, allocations: 85.66 kB / 0.8445 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.01366, allocations: 11.94 kB / 0.8445 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.01367, allocations: 0 / 0.8445 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.01368, allocations: 3.938 kB / 0.8445 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.01417, allocations: 187.8 kB / 0.8447 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.01418, allocations: 3.984 kB / 0.8447 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.0146, allocations: 187.8 kB / 0.8449 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.01461, allocations: 3.984 kB / 0.8449 GB, free: 7.531 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 7.223e-05/0.01468, allocations: 109.8 kB / 0.845 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.01472, allocations: 11.92 kB / 0.845 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.01476, allocations: 11.62 kB / 0.845 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.01477, allocations: 3.938 kB / 0.845 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.01477, allocations: 0 / 0.845 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01477, allocations: 0 / 0.845 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.01494, allocations: 117.8 kB / 0.8452 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01494, allocations: 3.984 kB / 0.8452 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.01546, allocations: 195.8 kB / 0.8453 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01546, allocations: 0 / 0.8453 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.01548, allocations: 3.984 kB / 0.8453 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01548, allocations: 0 / 0.8453 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01548, allocations: 0 / 0.8453 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.0157, allocations: 191.5 kB / 0.8455 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.0157, allocations: 7.953 kB / 0.8455 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.01573, allocations: 0 / 0.8455 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/0.01616, allocations: 183.8 kB / 0.8457 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.01618, allocations: 11.86 kB / 0.8457 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.0162, allocations: 11.98 kB / 0.8457 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.506e-05/0.01622, allocations: 25.14 kB / 0.8458 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01622, allocations: 0 / 0.8458 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000166/0.01638, allocations: 36 kB / 0.8458 GB, free: 6.582 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.924e-05/0.01648, allocations: 72.42 kB / 0.8459 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.01669, allocations: 84.81 kB / 0.8459 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.0167, allocations: 0 / 0.8459 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.795e-05/0.01679, allocations: 52.89 kB / 0.846 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.01692, allocations: 18.02 kB / 0.846 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.01732, allocations: 168.5 kB / 0.8462 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.033e-05/0.01735, allocations: 59.34 kB / 0.8462 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.01749, allocations: 32 kB / 0.8463 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.01765, allocations: 59.34 kB / 0.8463 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.01765, allocations: 0 / 0.8463 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of Templates: time 0.003643/0.0213, allocations: 2.805 MB / 0.8491 GB, free: 3.168 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 -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.427034883759916]