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.001831/0.001831, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002264/0.002264, allocations: 213.5 kB / 22.99 MB, free: 4.984 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.284/3.284, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002007/0.002007, allocations: 68.11 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4206, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003173/0.4237, allocations: 1.759 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.4251, allocations: 0.6936 MB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.4252, allocations: 7.938 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.238e-05/0.4252, allocations: 7.875 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.43e-05/0.4253, allocations: 23.78 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005996/0.4259, allocations: 182.5 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.4261, allocations: 123.6 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.4263, allocations: 45.53 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.4265, allocations: 67.83 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.03e-05/0.4266, allocations: 47.72 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.4266, allocations: 12 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.4267, allocations: 51.95 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.4268, allocations: 31.91 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.4268, allocations: 47.77 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.4271, allocations: 151.4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4271, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4271, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.4271, allocations: 0 / 1.33 GB, free: 13.71 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.0006454/0.4277, allocations: 365.7 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.4278, allocations: 11.97 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009625/0.4287, allocations: 132.7 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.4291, allocations: 162.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.4292, allocations: 115.4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.4292, allocations: 15.92 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.4298, allocations: 220.8 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4298, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.4298, allocations: 8 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4299, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006094/0.4305, allocations: 151.8 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.4315, allocations: 405.6 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.4325, allocations: 218.3 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.4328, allocations: 76.89 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.4329, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.4329, allocations: 38.56 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.4329, allocations: 4 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.001086/0.434, allocations: 261.3 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.434, allocations: 55.41 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.4342, allocations: 141.2 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.4342, allocations: 29.7 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.4343, allocations: 116.1 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.4343, allocations: 27.83 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.4344, allocations: 21.7 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.4346, allocations: 322.8 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.4349, allocations: 71.92 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.4352, allocations: 94.5 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.4358, allocations: 162.4 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4358, allocations: 7.938 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006714/0.4365, allocations: 197.4 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.4365, allocations: 15.92 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4365, allocations: 3.938 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4365, allocations: 4.062 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.4368, allocations: 35.95 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4368, allocations: 160 / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.437, allocations: 31.86 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.437, allocations: 7.984 kB / 1.334 GB, free: 10.02 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.0001177/0.4371, allocations: 113.8 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.4372, allocations: 11.89 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007725/0.4379, allocations: 210.2 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.4379, allocations: 0 / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4379, allocations: 0 / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4379, allocations: 0 / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.4382, allocations: 162.1 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4382, allocations: 384 / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.4385, allocations: 31.95 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4385, allocations: 3.938 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.4385, allocations: 7.984 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4385, allocations: 3.984 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4385, allocations: 0 / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007425/0.4392, allocations: 291.3 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.4393, allocations: 11.91 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.4393, allocations: 3.938 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.4396, allocations: 31.95 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.4396, allocations: 7.984 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.4396, allocations: 7.984 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001314/0.4398, allocations: 109.1 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4398, allocations: 0 / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002608/0.44, allocations: 23.94 kB / 1.335 GB, free: 8.945 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.0001648/0.4402, allocations: 103.2 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006632/0.4409, allocations: 163.8 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4409, allocations: 0 / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.4412, allocations: 79.91 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.4415, allocations: 17.95 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007509/0.4422, allocations: 259.8 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.054e-05/0.4423, allocations: 89.12 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.809e-05/0.4424, allocations: 19.75 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.276e-05/0.4425, allocations: 19.42 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.4425, allocations: 0 / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of Templates: time 0.004783/0.4473, allocations: 1.65 MB / 1.337 GB, free: 6.52 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 -s cvode -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: 9.490071693027858]