Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 117.6 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.89 kB / 1.057 GB, free: 2.043 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3783, allocations: 160.7 MB / 1.214 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002933/0.3812, allocations: 1.465 MB / 1.215 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3823, allocations: 0.5664 MB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.3824, allocations: 0 / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.3824, allocations: 3.938 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.698e-05/0.3824, allocations: 7.938 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.3827, allocations: 51.81 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.019e-05/0.3828, allocations: 23.92 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.3829, allocations: 8 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.208e-05/0.3829, allocations: 11.92 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.383, allocations: 11.94 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.383, allocations: 4 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.3831, allocations: 55.94 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.3831, allocations: 11.94 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.3832, allocations: 15.86 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.3833, allocations: 71.73 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3833, allocations: 0 / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3833, allocations: 0 / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3834, allocations: 3.938 kB / 1.216 GB, free: 14.68 MB / 0.9669 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.000506/0.3839, allocations: 353.5 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3839, allocations: 8.031 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.3839, allocations: 4.922 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.3841, allocations: 168.3 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3841, allocations: 4.375 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.3841, allocations: 8.375 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.3842, allocations: 46 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3842, allocations: 0 / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.3843, allocations: 0 / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3843, allocations: 0 / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.028e-05/0.3843, allocations: 19.98 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.3847, allocations: 256.8 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.826e-05/0.3848, allocations: 38.56 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.3848, allocations: 8.922 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008889/0.3857, allocations: 481.4 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.3858, allocations: 38.55 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3858, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002416/0.386, allocations: 69.56 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.386, allocations: 55.41 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.3861, allocations: 105.8 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3861, allocations: 29.64 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.3862, allocations: 88.27 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.3862, allocations: 7.953 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.3862, allocations: 17.7 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3864, allocations: 314.8 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.3864, allocations: 7.984 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.548e-05/0.3865, allocations: 8 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.438e-05/0.3865, allocations: 32.78 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3865, allocations: 4.062 kB / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000125/0.3867, allocations: 53.62 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3867, allocations: 5.875 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3867, allocations: 4 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3867, allocations: 0 / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.3868, allocations: 7.984 kB / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3868, allocations: 0 / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.3868, allocations: 0 / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.3868, allocations: 7.938 kB / 1.218 GB, free: 12.16 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 8.312e-05/0.3869, allocations: 113.8 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.3869, allocations: 15.94 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.3871, allocations: 61.09 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3871, allocations: 0 / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3871, allocations: 3.984 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3871, allocations: 0 / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.3873, allocations: 165.6 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3873, allocations: 0 / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.3873, allocations: 12.02 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.3874, allocations: 0 / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.3874, allocations: 0 / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3874, allocations: 4 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3874, allocations: 0 / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.3876, allocations: 151.5 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.3876, allocations: 81.06 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.3876, allocations: 4.031 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.3877, allocations: 11.94 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.3877, allocations: 0 / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.3877, allocations: 0 / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.251e-05/0.3878, allocations: 95.2 kB / 1.219 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3878, allocations: 0 / 1.219 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002367/0.3881, allocations: 12 kB / 1.219 GB, free: 11.34 MB / 0.9669 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.0001719/0.3882, allocations: 118.9 kB / 1.219 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.3884, allocations: 31.98 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3884, allocations: 0 / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.31e-05/0.3884, allocations: 11.98 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.3886, allocations: 7.938 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.3889, allocations: 152.1 kB / 1.219 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.3893, allocations: 0.6808 MB / 1.22 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.3893, allocations: 11.44 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.3893, allocations: 0 / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of Templates: time 0.002378/0.3917, allocations: 0.8087 MB / 1.221 GB, free: 9.461 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.540890520904213]