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.001854/0.001854, allocations: 77.62 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002629/0.002629, allocations: 167.8 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.502/1.502, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.885/2.885, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.483e-06/1.483e-06, allocations: 0 / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.49e-05, allocations: 2.281 kB / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002625/0.00265, allocations: 1.49 MB / 1.002 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.003763, allocations: 0.5764 MB / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.003814, allocations: 4 kB / 1.002 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.003835, allocations: 0 / 1.002 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.904e-05/0.003884, allocations: 3.938 kB / 1.002 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.004186, allocations: 67.69 kB / 1.002 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.004296, allocations: 31.91 kB / 1.002 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.823e-05/0.004384, allocations: 0 / 1.002 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.004518, allocations: 23.92 kB / 1.002 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.874e-05/0.004566, allocations: 11.98 kB / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.004581, allocations: 0 / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.004728, allocations: 63.81 kB / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.004746, allocations: 11.94 kB / 1.002 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.004764, allocations: 0 / 1.002 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.004945, allocations: 83.77 kB / 1.002 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004947, allocations: 0 / 1.002 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004948, allocations: 0 / 1.002 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004951, allocations: 0 / 1.002 GB, free: 4.887 MB / 0.9512 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.0004693/0.005421, allocations: 278.1 kB / 1.003 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.005461, allocations: 12.03 kB / 1.003 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/0.02235, allocations: 2.432 MB / 1.005 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.02271, allocations: 161.6 kB / 1.005 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.02272, allocations: 4.375 kB / 1.005 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.02277, allocations: 4.359 kB / 1.005 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00601/0.02878, allocations: 1.001 MB / 1.006 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.02879, allocations: 192 / 1.006 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.02883, allocations: 4.375 kB / 1.006 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.02884, allocations: 7.938 kB / 1.006 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.04028, allocations: 1.865 MB / 1.008 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00723/0.04751, allocations: 1.392 MB / 1.009 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01122/0.05873, allocations: 1.872 MB / 1.011 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005425/0.06415, allocations: 0.9296 MB / 1.012 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.06419, allocations: 7.984 kB / 1.012 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.06423, allocations: 42.38 kB / 1.012 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.974e-06/0.06424, allocations: 0 / 1.012 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.01655/0.08078, allocations: 2.745 MB / 1.015 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.08084, allocations: 55.44 kB / 1.015 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.08097, allocations: 113.8 kB / 1.015 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/0.08102, allocations: 25.7 kB / 1.015 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.08109, allocations: 88.14 kB / 1.015 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.08114, allocations: 7.891 kB / 1.015 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.08127, allocations: 25.67 kB / 1.015 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.08144, allocations: 318.8 kB / 1.015 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005714/0.08715, allocations: 0.9326 MB / 1.016 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005627/0.09278, allocations: 0.9286 MB / 1.017 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/0.1035, allocations: 1.679 MB / 1.019 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1035, allocations: 4 kB / 1.019 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01106/0.1145, allocations: 1.808 MB / 1.021 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.1146, allocations: 10.12 kB / 1.021 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1146, allocations: 0 / 1.021 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.1146, allocations: 0 / 1.021 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003267/0.1179, allocations: 475.5 kB / 1.021 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1179, allocations: 0 / 1.021 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/0.121, allocations: 455.8 kB / 1.022 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.1211, allocations: 7.984 kB / 1.022 GB, free: 1.051 MB / 0.9669 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 0.0001625/0.1212, allocations: 110.4 kB / 1.022 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.1213, allocations: 11.83 kB / 1.022 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.003e-05/0.1214, allocations: 19.56 kB / 1.022 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1214, allocations: 0 / 1.022 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1214, allocations: 0 / 1.022 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1214, allocations: 0 / 1.022 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.1218, allocations: 246.2 kB / 1.022 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1218, allocations: 0 / 1.022 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003225/0.125, allocations: 463.5 kB / 1.022 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.125, allocations: 0 / 1.022 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/0.1251, allocations: 11.92 kB / 1.022 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1251, allocations: 0 / 1.022 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1251, allocations: 3.938 kB / 1.022 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/0.1364, allocations: 1.916 MB / 1.024 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.1364, allocations: 3.953 kB / 1.024 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.1365, allocations: 3.938 kB / 1.024 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003136/0.1396, allocations: 455.5 kB / 1.025 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.1397, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.1397, allocations: 7.984 kB / 1.025 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.385e-05/0.1398, allocations: 91.2 kB / 1.025 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.1398, allocations: 0 / 1.025 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003251/0.1401, allocations: 36 kB / 1.025 GB, free: 13.64 MB / 0.9825 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.0001645/0.1403, allocations: 95.25 kB / 1.025 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0115/0.1518, allocations: 1.869 MB / 1.027 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1518, allocations: 4 kB / 1.027 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00567/0.1575, allocations: 0.9326 MB / 1.028 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.1577, allocations: 4 kB / 1.028 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005965/0.1637, allocations: 1.043 MB / 1.029 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.906e-05/0.1638, allocations: 67.33 kB / 1.029 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002658/0.164, allocations: 36 kB / 1.029 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.1642, allocations: 24.45 kB / 1.029 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of SimCode: time 7.72e-07/0.1642, allocations: 0 / 1.029 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of Templates: time 0.00577/0.17, allocations: 2.697 MB / 1.032 GB, free: 6.797 MB / 0.9825 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.199069239199162]