Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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.001231/0.001231, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001833/0.003064, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001223/0.001223, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001544/0.002767, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.967/0.967, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08746/1.054, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.564/2.564, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2711/2.835, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.886e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002091/0.00211, allocations: 1.865 MB / 0.8201 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008873/0.002997, allocations: 0.7319 MB / 0.8209 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.003061, allocations: 3.938 kB / 0.8209 GB, free: 272 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.003093, allocations: 7.875 kB / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.018e-05/0.003133, allocations: 15.86 kB / 0.8209 GB, free: 248 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.0035, allocations: 175.5 kB / 0.821 GB, free: 72 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.003662, allocations: 131.6 kB / 0.8212 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.00378, allocations: 38.2 kB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.003953, allocations: 95.84 kB / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.399e-05/0.004027, allocations: 43.81 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.004051, allocations: 12 kB / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.004172, allocations: 55.89 kB / 0.8214 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.004193, allocations: 19.94 kB / 0.8214 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.004226, allocations: 23.94 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.004394, allocations: 115.6 kB / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.606e-05/0.004411, allocations: 3.984 kB / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004411, allocations: 0 / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.004428, allocations: 0 / 0.8216 GB, free: 15.54 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004506/0.004878, allocations: 367.9 kB / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.004907, allocations: 12.03 kB / 0.8219 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004106/0.005318, allocations: 177.9 kB / 0.8221 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.005486, allocations: 152.4 kB / 0.8222 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.005547, allocations: 107.4 kB / 0.8223 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.005565, allocations: 12.38 kB / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.00579, allocations: 193.9 kB / 0.8225 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.005797, allocations: 0 / 0.8225 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.005811, allocations: 4 kB / 0.8225 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.005816, allocations: 0 / 0.8225 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.47e-05/0.005871, allocations: 35.98 kB / 0.8226 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.006321, allocations: 283.9 kB / 0.8228 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.006566, allocations: 126.4 kB / 0.823 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.006595, allocations: 20.86 kB / 0.823 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.006617, allocations: 4 kB / 0.823 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.006649, allocations: 38.62 kB / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.006651, allocations: 0 / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001612/0.006812, allocations: 85.67 kB / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.006839, allocations: 55.39 kB / 0.8232 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.006913, allocations: 142.6 kB / 0.8233 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.006931, allocations: 33.7 kB / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.00697, allocations: 104.2 kB / 0.8234 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.00699, allocations: 23.84 kB / 0.8235 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.007025, allocations: 17.72 kB / 0.8235 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.255e-05/0.007097, allocations: 326.8 kB / 0.8238 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.809e-05/0.007125, allocations: 19.98 kB / 0.8238 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.799e-05/0.007163, allocations: 34.52 kB / 0.8238 GB, free: 13 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.593e-05/0.007229, allocations: 58.53 kB / 0.8239 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.007231, allocations: 0 / 0.8239 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.626e-05/0.007328, allocations: 81.61 kB / 0.824 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.00734, allocations: 8 kB / 0.824 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.007344, allocations: 0 / 0.824 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.007353, allocations: 0 / 0.824 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.007473, allocations: 39.95 kB / 0.824 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.007478, allocations: 8.25 kB / 0.824 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.007531, allocations: 15.92 kB / 0.824 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.00754, allocations: 4 kB / 0.824 GB, free: 12.77 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.049e-05/0.007611, allocations: 113.8 kB / 0.8242 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.007632, allocations: 7.984 kB / 0.8242 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.007757, allocations: 90.36 kB / 0.8242 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007759, allocations: 4 kB / 0.8242 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.007762, allocations: 7.938 kB / 0.8243 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.007765, allocations: 0 / 0.8243 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.007878, allocations: 93.86 kB / 0.8243 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.00788, allocations: 0 / 0.8243 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.068e-05/0.00796, allocations: 31.95 kB / 0.8244 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.007972, allocations: 15.89 kB / 0.8244 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.007974, allocations: 0 / 0.8244 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.00798, allocations: 3.938 kB / 0.8244 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.007982, allocations: 0 / 0.8244 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007983, allocations: 8 kB / 0.8244 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.008251, allocations: 171.4 kB / 0.8246 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.008266, allocations: 4 kB / 0.8246 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.008356, allocations: 19.97 kB / 0.8246 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.008381, allocations: 3.984 kB / 0.8246 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.008391, allocations: 7.984 kB / 0.8246 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.589e-05/0.008417, allocations: 35.02 kB / 0.8246 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008417, allocations: 0 / 0.8246 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001451/0.008562, allocations: 23.94 kB / 0.8247 GB, free: 12.09 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 (6): * Single equations (assignments): 6 * 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 8.588e-05/0.008648, allocations: 80.42 kB / 0.8247 GB, free: 12 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.008751, allocations: 56.78 kB / 0.8248 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.008756, allocations: 0 / 0.8248 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.337e-05/0.008789, allocations: 28.84 kB / 0.8248 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.008953, allocations: 33.41 kB / 0.8248 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007996/0.009752, allocations: 232.8 kB / 0.8251 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.94e-05/0.009792, allocations: 63.33 kB / 0.8251 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.696e-05/0.009848, allocations: 15.94 kB / 0.8251 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.009983, allocations: 87.31 kB / 0.8252 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of SimCode: time 6.71e-07/0.009983, allocations: 0 / 0.8252 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of Templates: time 0.003335/0.01332, allocations: 1.699 MB / 0.8269 GB, free: 9.758 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.ref.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.4469887828454375]