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.001584/0.001584, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.00161/0.00161, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.443/1.443, allocations: 225.6 MB / 249.4 MB, free: 3.141 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.682/2.682, allocations: 443.4 MB / 0.7304 GB, free: 13.89 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.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.001991/0.001991, allocations: 64.09 kB / 1.059 GB, free: 360 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3257, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003022/0.3287, allocations: 1.788 MB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.3299, allocations: 0.6749 MB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.3299, allocations: 0 / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.797e-05/0.33, allocations: 7.875 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-05/0.3301, allocations: 19.8 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005488/0.3306, allocations: 183.4 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.3308, allocations: 119.6 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.3309, allocations: 41.08 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.331, allocations: 59.78 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.119e-05/0.3311, allocations: 51.75 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.3311, allocations: 8 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.3313, allocations: 47.97 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.3313, allocations: 35.84 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.376e-05/0.3314, allocations: 55.72 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.3316, allocations: 147.4 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3316, allocations: 0 / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3316, allocations: 7.938 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3316, allocations: 0 / 1.219 GB, free: 12.07 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006621/0.3322, allocations: 438.8 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.3323, allocations: 8.031 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008304/0.3331, allocations: 116.7 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.3333, allocations: 180.2 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.95e-05/0.3334, allocations: 67.95 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3334, allocations: 4.375 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.3339, allocations: 181.6 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3339, allocations: 0 / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.334, allocations: 0 / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.334, allocations: 4 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005947/0.3346, allocations: 167.7 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.3357, allocations: 489.5 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009805/0.3366, allocations: 210.3 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.3369, allocations: 84.91 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.337, allocations: 3.984 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.337, allocations: 34.55 kB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.337, allocations: 0 / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.001/0.338, allocations: 265.3 kB / 1.221 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.338, allocations: 51.41 kB / 1.221 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3382, allocations: 139.4 kB / 1.222 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.3382, allocations: 29.7 kB / 1.222 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.3383, allocations: 116.2 kB / 1.222 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.3383, allocations: 15.86 kB / 1.222 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.3384, allocations: 25.7 kB / 1.222 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3385, allocations: 322.8 kB / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.3388, allocations: 71.92 kB / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.3391, allocations: 102.5 kB / 1.222 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005668/0.3397, allocations: 162.4 kB / 1.222 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3397, allocations: 0 / 1.222 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006595/0.3403, allocations: 201.4 kB / 1.223 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3403, allocations: 8.062 kB / 1.223 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3403, allocations: 0 / 1.223 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3404, allocations: 3.938 kB / 1.223 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.3406, allocations: 35.95 kB / 1.223 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3406, allocations: 3.938 kB / 1.223 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.3408, allocations: 31.89 kB / 1.223 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.3408, allocations: 7.938 kB / 1.223 GB, free: 8.305 MB / 0.9669 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.0001088/0.341, allocations: 117.8 kB / 1.223 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.341, allocations: 7.953 kB / 1.223 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.3417, allocations: 214.4 kB / 1.223 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3417, allocations: 0 / 1.223 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3417, allocations: 64 / 1.223 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3417, allocations: 4 kB / 1.223 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.342, allocations: 238.3 kB / 1.223 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.342, allocations: 0 / 1.223 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.3422, allocations: 31.95 kB / 1.223 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3422, allocations: 0 / 1.223 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.3423, allocations: 7.938 kB / 1.223 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3423, allocations: 3.984 kB / 1.223 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3423, allocations: 4 kB / 1.223 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006664/0.3429, allocations: 275.4 kB / 1.224 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.343, allocations: 89.05 kB / 1.224 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.343, allocations: 7.938 kB / 1.224 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.3433, allocations: 35.94 kB / 1.224 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.3433, allocations: 0 / 1.224 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.3433, allocations: 7.984 kB / 1.224 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.045e-05/0.3434, allocations: 113.8 kB / 1.224 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3434, allocations: 0 / 1.224 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002641/0.3437, allocations: 31.89 kB / 1.224 GB, free: 7.039 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 (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.0001229/0.3438, allocations: 99.25 kB / 1.224 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006452/0.3445, allocations: 159.8 kB / 1.224 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3445, allocations: 0 / 1.224 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.3448, allocations: 79.98 kB / 1.224 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.3451, allocations: 13.55 kB / 1.224 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.3457, allocations: 271.3 kB / 1.224 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.3461, allocations: 0.7041 MB / 1.225 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.83e-05/0.3462, allocations: 12 kB / 1.225 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.3462, allocations: 15.42 kB / 1.225 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.3462, allocations: 0 / 1.225 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of Templates: time 0.004255/0.3505, allocations: 1.495 MB / 1.227 GB, free: 4.148 MB / 0.9669 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/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.090141876600683]