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.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.001699/0.001699, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.00204/0.00204, allocations: 190.3 kB / 22.1 MB, free: 5.152 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.469/1.469, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.234/3.234, allocations: 495.8 MB / 0.783 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 68.33 kB / 1.137 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3748, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003567/0.3783, allocations: 1.799 MB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3797, allocations: 0.6623 MB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.514e-05/0.3798, allocations: 3.938 kB / 1.309 GB, free: 15.31 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.3798, allocations: 11.86 kB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.728e-05/0.3799, allocations: 19.8 kB / 1.309 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.3805, allocations: 175.2 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.3807, allocations: 115.7 kB / 1.309 GB, free: 15 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.3809, allocations: 48.91 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.381, allocations: 59.84 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3811, allocations: 55.75 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.3812, allocations: 8 kB / 1.31 GB, free: 14.83 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3813, allocations: 47.97 kB / 1.31 GB, free: 14.78 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.3813, allocations: 35.83 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.06e-05/0.3814, allocations: 47.73 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.3816, allocations: 155.4 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3817, allocations: 0 / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3817, allocations: 0 / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3817, allocations: 0 / 1.31 GB, free: 14.55 MB / 1.014 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.0007041/0.3824, allocations: 373.7 kB / 1.31 GB, free: 14.15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3824, allocations: 8.031 kB / 1.31 GB, free: 14.14 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009302/0.3833, allocations: 108.7 kB / 1.31 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.3835, allocations: 126.3 kB / 1.31 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.3836, allocations: 71.95 kB / 1.311 GB, free: 13.81 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.3836, allocations: 8.359 kB / 1.311 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006102/0.3843, allocations: 173.7 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3843, allocations: 0 / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.3843, allocations: 4 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.3843, allocations: 0 / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006868/0.385, allocations: 163.7 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.3862, allocations: 457 kB / 1.311 GB, free: 12.97 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.3874, allocations: 222.2 kB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.3877, allocations: 80.89 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3878, allocations: 4 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.3878, allocations: 30.56 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3878, allocations: 4 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.001153/0.389, allocations: 265.3 kB / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.389, allocations: 59.34 kB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.3891, allocations: 136.1 kB / 1.312 GB, free: 12.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.3892, allocations: 29.7 kB / 1.312 GB, free: 12.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/0.3893, allocations: 112.2 kB / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.3893, allocations: 19.8 kB / 1.312 GB, free: 11.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-05/0.3894, allocations: 25.7 kB / 1.312 GB, free: 11.94 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3895, allocations: 318.8 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.3899, allocations: 79.92 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.3902, allocations: 94.48 kB / 1.313 GB, free: 11.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.3909, allocations: 162.4 kB / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3909, allocations: 0 / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007443/0.3916, allocations: 201.4 kB / 1.313 GB, free: 11.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3917, allocations: 8.938 kB / 1.313 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3917, allocations: 0 / 1.313 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3917, allocations: 3.938 kB / 1.313 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.392, allocations: 35.95 kB / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.392, allocations: 0 / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.3922, allocations: 32.02 kB / 1.313 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.3922, allocations: 4 kB / 1.313 GB, free: 10.98 MB / 1.014 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.0001184/0.3923, allocations: 118.6 kB / 1.313 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.3924, allocations: 11.91 kB / 1.313 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008029/0.3932, allocations: 210.1 kB / 1.313 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3932, allocations: 7.938 kB / 1.313 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3932, allocations: 3.984 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3932, allocations: 0 / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.3935, allocations: 205.3 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3935, allocations: 0 / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.3937, allocations: 36.33 kB / 1.314 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3937, allocations: 0 / 1.314 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.3938, allocations: 11.92 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.3938, allocations: 4 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3938, allocations: 0 / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007869/0.3945, allocations: 283.3 kB / 1.314 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.3946, allocations: 11.95 kB / 1.314 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.3946, allocations: 3.938 kB / 1.314 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.3949, allocations: 31.95 kB / 1.314 GB, free: 9.992 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.395, allocations: 7.922 kB / 1.314 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.395, allocations: 11.98 kB / 1.314 GB, free: 9.973 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.419e-05/0.3951, allocations: 104.6 kB / 1.314 GB, free: 9.871 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3951, allocations: 0 / 1.314 GB, free: 9.871 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002774/0.3953, allocations: 31.89 kB / 1.314 GB, free: 9.84 MB / 1.014 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.0001382/0.3955, allocations: 91.25 kB / 1.314 GB, free: 9.742 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007436/0.3962, allocations: 167.8 kB / 1.314 GB, free: 9.578 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3962, allocations: 0 / 1.314 GB, free: 9.578 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.3966, allocations: 79.91 kB / 1.315 GB, free: 9.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.3969, allocations: 13.53 kB / 1.315 GB, free: 9.488 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.3976, allocations: 259.7 kB / 1.315 GB, free: 9.203 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.398, allocations: 0.6961 MB / 1.315 GB, free: 8.48 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.543e-05/0.3981, allocations: 19.98 kB / 1.315 GB, free: 8.461 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.3982, allocations: 11.44 kB / 1.316 GB, free: 8.449 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.3982, allocations: 0 / 1.316 GB, free: 8.449 MB / 1.014 GB Notification: Performance of Templates: time 0.00462/0.4028, allocations: 1.525 MB / 1.317 GB, free: 6.934 MB / 1.014 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/jenkins/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: 9.000984285026789]