Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001797/0.001797, allocations: 110.5 kB / 17.6 MB, free: 4.688 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.001998/0.001998, allocations: 190.8 kB / 20.78 MB, free: 1.512 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.458/1.458, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.729/2.729, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 67.89 kB / 1.107 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9848/0.9869, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003251/0.9902, allocations: 1.807 MB / 1.274 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.9913, allocations: 0.6628 MB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.9914, allocations: 0.875 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.587e-05/0.9914, allocations: 10.39 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.9915, allocations: 19.78 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005581/0.992, allocations: 178.9 kB / 1.275 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.9922, allocations: 127.6 kB / 1.275 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.9924, allocations: 35.22 kB / 1.275 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.9925, allocations: 59.61 kB / 1.275 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.159e-05/0.9926, allocations: 46.55 kB / 1.275 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.9927, allocations: 14.38 kB / 1.275 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.9928, allocations: 46.14 kB / 1.275 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.9928, allocations: 31.77 kB / 1.275 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.9929, allocations: 56.42 kB / 1.275 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.9931, allocations: 149.4 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.9931, allocations: 0 / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9931, allocations: 0 / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.9931, allocations: 0.7812 kB / 1.275 GB, free: 5.852 MB / 0.9981 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.0005964/0.9937, allocations: 444.8 kB / 1.276 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.9938, allocations: 9.594 kB / 1.276 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000871/0.9947, allocations: 105.3 kB / 1.276 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.9948, allocations: 186.7 kB / 1.276 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-05/0.9949, allocations: 60.92 kB / 1.276 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.9949, allocations: 13.41 kB / 1.276 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/0.9954, allocations: 177.8 kB / 1.276 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.9954, allocations: 0 / 1.276 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.9955, allocations: 0.7812 kB / 1.276 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.9955, allocations: 2.5 kB / 1.276 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006098/0.9961, allocations: 168.6 kB / 1.276 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.9972, allocations: 494.2 kB / 1.277 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009767/0.9981, allocations: 213.8 kB / 1.277 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.9985, allocations: 73.91 kB / 1.277 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.9985, allocations: 5.766 kB / 1.277 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.9985, allocations: 33.14 kB / 1.277 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.9985, allocations: 0 / 1.277 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.001025/0.9995, allocations: 270.3 kB / 1.277 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.9996, allocations: 52.94 kB / 1.277 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.9997, allocations: 140.2 kB / 1.277 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.9997, allocations: 26.64 kB / 1.277 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.9997, allocations: 114.2 kB / 1.278 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.9998, allocations: 24.47 kB / 1.278 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.9998, allocations: 23.95 kB / 1.278 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.9999, allocations: 319.9 kB / 1.278 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/1, allocations: 78.95 kB / 1.278 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/1.001, allocations: 92.91 kB / 1.278 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/1.001, allocations: 164.5 kB / 1.278 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.001, allocations: 0.9375 kB / 1.278 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006403/1.002, allocations: 200.8 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.002, allocations: 5.375 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/1.002, allocations: 1.531 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/1.002, allocations: 4.812 kB / 1.278 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/1.002, allocations: 36 kB / 1.279 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/1.002, allocations: 0.9688 kB / 1.279 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/1.002, allocations: 29.11 kB / 1.279 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/1.002, allocations: 12.84 kB / 1.279 GB, free: 3.578 MB / 0.9981 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 8.894e-05/1.002, allocations: 123.9 kB / 1.279 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/1.002, allocations: 8.047 kB / 1.279 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00074/1.003, allocations: 207.1 kB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.003, allocations: 1 kB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.003, allocations: 1.422 kB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.003, allocations: 0.7969 kB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/1.003, allocations: 240.7 kB / 1.279 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.003, allocations: 384 / 1.279 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/1.004, allocations: 36.38 kB / 1.279 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.004, allocations: 12.53 kB / 1.279 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/1.004, allocations: 9.766 kB / 1.279 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.004, allocations: 1.594 kB / 1.279 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.004, allocations: 0 / 1.279 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/1.004, allocations: 283.2 kB / 1.279 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/1.004, allocations: 83.94 kB / 1.28 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/1.004, allocations: 4.875 kB / 1.28 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/1.005, allocations: 37.56 kB / 1.28 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/1.005, allocations: 3.609 kB / 1.28 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/1.005, allocations: 7.312 kB / 1.28 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.611e-05/1.005, allocations: 111 kB / 1.28 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.005, allocations: 4 kB / 1.28 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002731/1.005, allocations: 23.94 kB / 1.28 GB, free: 2.746 MB / 0.9981 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.0001399/1.005, allocations: 100.8 kB / 1.28 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007072/1.006, allocations: 163.7 kB / 1.28 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.006, allocations: 0 / 1.28 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003177/1.006, allocations: 83.19 kB / 1.28 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/1.007, allocations: 8.484 kB / 1.28 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007693/1.007, allocations: 267.8 kB / 1.28 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/1.008, allocations: 0.6992 MB / 1.281 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000102/1.008, allocations: 15.22 kB / 1.281 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/1.008, allocations: 18.52 kB / 1.281 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/1.008, allocations: 0 / 1.281 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of Templates: time 0.004878/1.013, allocations: 1.501 MB / 1.282 GB, free: 1.586 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.90854537114501]