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.001351/0.001351, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001417/0.001417, allocations: 187.4 kB / 22.22 MB, free: 5.105 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.413/1.413, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 443.5 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.00197/0.00197, allocations: 71.89 kB / 1.061 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7634/0.7653, allocations: 160.8 MB / 1.218 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00341/0.7687, allocations: 1.799 MB / 1.22 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.77, allocations: 0.6631 MB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.7701, allocations: 1.188 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.809e-05/0.7701, allocations: 11.86 kB / 1.221 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.63e-05/0.7702, allocations: 21.33 kB / 1.221 GB, free: 1.832 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.7708, allocations: 163.1 kB / 1.221 GB, free: 1.727 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.771, allocations: 136.5 kB / 1.221 GB, free: 1.645 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.7712, allocations: 33.83 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.7713, allocations: 61.86 kB / 1.221 GB, free: 1.59 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.7714, allocations: 48.48 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/0.7714, allocations: 10.22 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.7716, allocations: 56.44 kB / 1.221 GB, free: 1.527 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.771e-05/0.7717, allocations: 29.66 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.598e-05/0.7718, allocations: 57.55 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.7721, allocations: 150.2 kB / 1.222 GB, free: 1.359 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.7721, allocations: 1.156 kB / 1.222 GB, free: 1.359 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.374e-06/0.7721, allocations: 0 / 1.222 GB, free: 1.359 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.632e-05/0.7721, allocations: 0 / 1.222 GB, free: 1.359 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.0008482/0.773, allocations: 442.6 kB / 1.222 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.773, allocations: 9.188 kB / 1.222 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009633/0.774, allocations: 112.4 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.7742, allocations: 185.2 kB / 1.222 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.7744, allocations: 66.45 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.7744, allocations: 9.625 kB / 1.222 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.775, allocations: 167.1 kB / 1.223 GB, free: 492 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.775, allocations: 0 / 1.223 GB, free: 492 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.7751, allocations: 9.281 kB / 1.223 GB, free: 484 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.7751, allocations: 6.375 kB / 1.223 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006391/0.7757, allocations: 152 kB / 1.223 GB, free: 408 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.777, allocations: 0.4886 MB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.778, allocations: 213.2 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.7783, allocations: 77.78 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.7784, allocations: 2.156 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.7784, allocations: 39.59 kB / 1.224 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.7784, allocations: 0 / 1.224 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.001024/0.7794, allocations: 263.7 kB / 1.224 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.7795, allocations: 56.5 kB / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.7796, allocations: 135.8 kB / 1.224 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.7796, allocations: 26.83 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.7797, allocations: 113.6 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.7797, allocations: 22.03 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.7798, allocations: 28.27 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.78, allocations: 321.5 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.7803, allocations: 73.92 kB / 1.225 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.7806, allocations: 93.5 kB / 1.225 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/0.7812, allocations: 163.9 kB / 1.225 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7812, allocations: 1.125 kB / 1.225 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006749/0.7819, allocations: 197.9 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.7819, allocations: 11.52 kB / 1.225 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7819, allocations: 1.188 kB / 1.225 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.7819, allocations: 5.25 kB / 1.225 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.7822, allocations: 42.64 kB / 1.225 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.7822, allocations: 5.188 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.7824, allocations: 27.81 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.7824, allocations: 7.766 kB / 1.225 GB, free: 14.54 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.0001248/0.7825, allocations: 126.3 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.7826, allocations: 15.06 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007255/0.7833, allocations: 216 kB / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.7833, allocations: 1.062 kB / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7833, allocations: 0 / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7833, allocations: 0 / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.7837, allocations: 238.4 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7837, allocations: 1.094 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.7839, allocations: 34.86 kB / 1.226 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.7839, allocations: 0.8125 kB / 1.226 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.7839, allocations: 5 kB / 1.226 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.7839, allocations: 1.094 kB / 1.226 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7839, allocations: 0 / 1.226 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006946/0.7846, allocations: 286.5 kB / 1.226 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.7847, allocations: 87.78 kB / 1.226 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.7847, allocations: 5.156 kB / 1.226 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.785, allocations: 32.44 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.785, allocations: 5.875 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.7851, allocations: 11.33 kB / 1.226 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.984e-05/0.7852, allocations: 107.1 kB / 1.226 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7852, allocations: 0 / 1.226 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002709/0.7854, allocations: 23.3 kB / 1.226 GB, free: 13.54 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.0001228/0.7856, allocations: 94.59 kB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006709/0.7862, allocations: 166.9 kB / 1.226 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.7862, allocations: 0 / 1.226 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.7865, allocations: 77.14 kB / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.7868, allocations: 6.047 kB / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006833/0.7875, allocations: 267.2 kB / 1.227 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.7878, allocations: 0.7036 MB / 1.227 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.562e-05/0.7879, allocations: 14.66 kB / 1.227 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.788, allocations: 15.89 kB / 1.227 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.788, allocations: 0 / 1.227 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of Templates: time 0.00447/0.7925, allocations: 1.517 MB / 1.229 GB, free: 11.62 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.352100856602192]