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.001359/0.001359, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001415/0.001415, allocations: 212.2 kB / 22.24 MB, free: 4.855 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.809 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.29/3.29, allocations: 0.4892 GB / 0.7943 GB, free: 35.73 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [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.002901/0.002901, allocations: 66.12 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4343, allocations: 176.1 MB / 1.325 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003631/0.4379, allocations: 1.764 MB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.4395, allocations: 0.6937 MB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.4396, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.11e-05/0.4397, allocations: 11.86 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.4398, allocations: 19.75 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007813/0.4406, allocations: 193.8 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.4408, allocations: 123.6 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.441, allocations: 45.72 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.4412, allocations: 63.77 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.4413, allocations: 43.72 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.4413, allocations: 12 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.4415, allocations: 51.95 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.4415, allocations: 31.91 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.051e-05/0.4416, allocations: 55.7 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.4419, allocations: 151.4 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.4419, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4419, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.4419, allocations: 0 / 1.328 GB, free: 15.11 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.0007767/0.4427, allocations: 365.7 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.4427, allocations: 8.031 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.417e-05/0.4428, allocations: 54.67 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000999/0.4438, allocations: 124.7 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.4441, allocations: 160 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.4443, allocations: 123.1 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.4443, allocations: 8 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005603/0.4449, allocations: 220.9 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.4449, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.4449, allocations: 4 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.4449, allocations: 7.922 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000613/0.4455, allocations: 163.8 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.4466, allocations: 421.1 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.4477, allocations: 214.3 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.448, allocations: 84.89 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.448, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.448, allocations: 38.5 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.448, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.001032/0.4491, allocations: 261.3 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.4491, allocations: 55.41 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.4493, allocations: 139.6 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.4493, allocations: 29.7 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.4494, allocations: 112.2 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.4494, allocations: 19.84 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.4495, allocations: 25.7 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4496, allocations: 318.8 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.4499, allocations: 79.89 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.4503, allocations: 94.5 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/0.4509, allocations: 162.4 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4509, allocations: 0 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006789/0.4515, allocations: 205.4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.4516, allocations: 8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4516, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.4516, allocations: 3.984 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.4519, allocations: 40.27 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4519, allocations: 3.938 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.452, allocations: 31.8 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.4521, allocations: 11.94 kB / 1.332 GB, free: 11.33 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.0001344/0.4522, allocations: 130.3 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.4522, allocations: 7.953 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007576/0.453, allocations: 202.2 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.453, allocations: 4 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.453, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.453, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.4533, allocations: 185.5 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4533, allocations: 3.984 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.4535, allocations: 35.89 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4535, allocations: 0 / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.4536, allocations: 0 / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4536, allocations: 0 / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4536, allocations: 4.156 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007479/0.4543, allocations: 291.2 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.4543, allocations: 7.953 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.4543, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.4546, allocations: 35.95 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.4547, allocations: 7.984 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.4547, allocations: 7.984 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.589e-05/0.4548, allocations: 105.1 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4548, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002627/0.4551, allocations: 23.94 kB / 1.333 GB, free: 10.23 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.001078/0.4561, allocations: 0.8216 MB / 1.333 GB, free: 9.379 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006716/0.4568, allocations: 164 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4568, allocations: 128 / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.4571, allocations: 84.05 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.4574, allocations: 13.7 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.4607, allocations: 1.849 MB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.052e-05/0.4608, allocations: 85.19 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.4609, allocations: 27.72 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.461, allocations: 31.42 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of SimCode: time 9.41e-07/0.461, allocations: 3.938 kB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03408/0.4951, allocations: 3.466 MB / 1.339 GB, free: 3.699 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.72, allocations: 4.062 kB / 1.339 GB, free: 3.695 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 420.0] 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: 18.78125970205292]