Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.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.001458/0.001458, allocations: 110.6 kB / 17.08 MB, free: 6.012 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.001598/0.001598, allocations: 191.7 kB / 20.03 MB, free: 3.082 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.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.714/2.714, allocations: 437.1 MB / 0.7177 GB, free: 4.523 MB / 0.5606 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.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.91 kB / 1.028 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2909, allocations: 151.6 MB / 1.176 GB, free: 5.98 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003325/0.2942, allocations: 1.762 MB / 1.178 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.2957, allocations: 0.6632 MB / 1.178 GB, free: 3.523 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.673e-05/0.2958, allocations: 0 / 1.178 GB, free: 3.523 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.182e-05/0.2959, allocations: 7.875 kB / 1.178 GB, free: 3.516 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.296, allocations: 27.78 kB / 1.178 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.2967, allocations: 163.1 kB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.2969, allocations: 135.5 kB / 1.179 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.2971, allocations: 45.11 kB / 1.179 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.2972, allocations: 59.77 kB / 1.179 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.459e-05/0.2973, allocations: 47.77 kB / 1.179 GB, free: 3.051 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.2974, allocations: 12 kB / 1.179 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.2975, allocations: 47.97 kB / 1.179 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.2975, allocations: 31.89 kB / 1.179 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.502e-05/0.2976, allocations: 55.72 kB / 1.179 GB, free: 2.906 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.2979, allocations: 147.4 kB / 1.179 GB, free: 2.762 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2979, allocations: 0 / 1.179 GB, free: 2.762 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2979, allocations: 0 / 1.179 GB, free: 2.762 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2979, allocations: 0 / 1.179 GB, free: 2.762 MB / 0.92 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.0006846/0.2986, allocations: 442.8 kB / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2986, allocations: 12.03 kB / 1.179 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008264/0.2995, allocations: 112.6 kB / 1.18 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.2997, allocations: 188.2 kB / 1.18 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.2998, allocations: 63.95 kB / 1.18 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.2998, allocations: 12.38 kB / 1.18 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.3003, allocations: 165.7 kB / 1.18 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3004, allocations: 0 / 1.18 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.3004, allocations: 11.94 kB / 1.18 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3004, allocations: 4 kB / 1.18 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006404/0.3011, allocations: 163.8 kB / 1.18 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.3022, allocations: 497.5 kB / 1.181 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.3033, allocations: 214.3 kB / 1.181 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.3036, allocations: 80.91 kB / 1.181 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.3037, allocations: 3.984 kB / 1.181 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3037, allocations: 34.56 kB / 1.181 GB, free: 0.625 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3037, allocations: 0 / 1.181 GB, free: 0.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.00112/0.3048, allocations: 265.3 kB / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.3049, allocations: 55.39 kB / 1.181 GB, free: 300 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.305, allocations: 140.6 kB / 1.181 GB, free: 152 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.3051, allocations: 29.7 kB / 1.181 GB, free: 116 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.3052, allocations: 112.4 kB / 1.181 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.3052, allocations: 15.86 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.3053, allocations: 25.7 kB / 1.181 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3054, allocations: 322.8 kB / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.3058, allocations: 67.92 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.3061, allocations: 98.48 kB / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/0.3068, allocations: 166.4 kB / 1.182 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3068, allocations: 0 / 1.182 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007257/0.3075, allocations: 201.5 kB / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3076, allocations: 7.938 kB / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3076, allocations: 4 kB / 1.182 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3076, allocations: 3.75 kB / 1.182 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.3079, allocations: 35.95 kB / 1.182 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3079, allocations: 4 kB / 1.182 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.3081, allocations: 27.89 kB / 1.182 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.3082, allocations: 12.09 kB / 1.182 GB, free: 14.98 MB / 0.9356 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 0.0001101/0.3083, allocations: 113.8 kB / 1.183 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.3083, allocations: 11.89 kB / 1.183 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007742/0.3091, allocations: 210.4 kB / 1.183 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3091, allocations: 0 / 1.183 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3091, allocations: 4.062 kB / 1.183 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3091, allocations: 4 kB / 1.183 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.3095, allocations: 238.4 kB / 1.183 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3095, allocations: 0 / 1.183 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.3097, allocations: 35.89 kB / 1.183 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3097, allocations: 0 / 1.183 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.3097, allocations: 11.92 kB / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3097, allocations: 0 / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3098, allocations: 3.984 kB / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.3105, allocations: 287.3 kB / 1.183 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.3106, allocations: 85.06 kB / 1.183 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.3106, allocations: 3.938 kB / 1.183 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.3109, allocations: 27.95 kB / 1.183 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.311, allocations: 7.984 kB / 1.183 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.311, allocations: 11.98 kB / 1.183 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.679e-05/0.3111, allocations: 105.3 kB / 1.184 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3111, allocations: 8 kB / 1.184 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002595/0.3114, allocations: 23.89 kB / 1.184 GB, free: 13.71 MB / 0.9356 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 0.0001498/0.3115, allocations: 103.2 kB / 1.184 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007234/0.3122, allocations: 163.8 kB / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3123, allocations: 0 / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.3126, allocations: 87.84 kB / 1.184 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.3129, allocations: 8 kB / 1.184 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007208/0.3137, allocations: 273.2 kB / 1.184 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.314, allocations: 0.7002 MB / 1.185 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.3141, allocations: 19.42 kB / 1.185 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3141, allocations: 0 / 1.185 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of Templates: time 0.003525/0.3177, allocations: 1.608 MB / 1.186 GB, free: 10.7 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.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.338550010928884]