Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001604/0.001604, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001778/0.001778, allocations: 213.2 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.178/3.178, allocations: 0.49 GB / 0.7958 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 68.48 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3387, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003155/0.3419, allocations: 1.817 MB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3432, allocations: 0.748 MB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.3433, allocations: 0 / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/0.3433, allocations: 15.86 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/0.3434, allocations: 23.73 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.344, allocations: 181.4 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.3442, allocations: 131.7 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.3443, allocations: 37.56 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.3445, allocations: 71.7 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.798e-05/0.3446, allocations: 51.77 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.3446, allocations: 8 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3448, allocations: 51.95 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/0.3448, allocations: 27.91 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.57e-05/0.3449, allocations: 63.66 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.3451, allocations: 147.4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3451, allocations: 4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3451, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3451, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 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.0006279/0.3457, allocations: 370.8 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3458, allocations: 12.03 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009665/0.3467, allocations: 132.6 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.3471, allocations: 162.8 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.3472, allocations: 111.4 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.3472, allocations: 11.94 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/0.3477, allocations: 173.4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3477, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.3478, allocations: 7.938 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3478, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/0.3483, allocations: 159.8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.3494, allocations: 461 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009682/0.3504, allocations: 214.3 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.3507, allocations: 76.91 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.3507, allocations: 11.94 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.3507, allocations: 34.5 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3507, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0009926/0.3517, allocations: 261.3 kB / 1.333 GB, free: 11.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.3518, allocations: 55.41 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.3519, allocations: 140.3 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.352, allocations: 37.64 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.352, allocations: 112.2 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.3521, allocations: 19.86 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.3521, allocations: 21.7 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3523, allocations: 322.8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.3526, allocations: 71.92 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.3529, allocations: 98.48 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005503/0.3534, allocations: 170.6 kB / 1.334 GB, free: 10.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3534, allocations: 0 / 1.334 GB, free: 10.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006312/0.354, allocations: 201.4 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3541, allocations: 5.875 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.3541, allocations: 8.062 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3541, allocations: 0 / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.3543, allocations: 35.95 kB / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3543, allocations: 7.938 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.3545, allocations: 31.84 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.3546, allocations: 4 kB / 1.334 GB, free: 10.39 MB / 1.029 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.0001108/0.3547, allocations: 113.8 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.3547, allocations: 15.89 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007032/0.3554, allocations: 198.2 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3554, allocations: 4 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3554, allocations: 4 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3554, allocations: 0 / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.3557, allocations: 217.2 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3557, allocations: 0 / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.3559, allocations: 35.89 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3559, allocations: 0 / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.3559, allocations: 7.984 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3559, allocations: 4 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3559, allocations: 0 / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006708/0.3566, allocations: 287.4 kB / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.3566, allocations: 11.91 kB / 1.335 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.3566, allocations: 4 kB / 1.335 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.3569, allocations: 31.95 kB / 1.335 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.357, allocations: 15.91 kB / 1.335 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.357, allocations: 4 kB / 1.335 GB, free: 9.383 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.039e-05/0.3571, allocations: 112.9 kB / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3571, allocations: 0 / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002717/0.3573, allocations: 23.94 kB / 1.335 GB, free: 9.25 MB / 1.029 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.0001377/0.3575, allocations: 111.2 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006297/0.3581, allocations: 155.8 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3581, allocations: 0 / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.3584, allocations: 87.97 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.3587, allocations: 11.94 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006968/0.3594, allocations: 277.4 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.3597, allocations: 0.7041 MB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.329e-05/0.3598, allocations: 19.42 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3598, allocations: 0 / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of Templates: time 0.003437/0.3632, allocations: 1.638 MB / 1.338 GB, free: 6.191 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.145063725998625]