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.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.001888/0.001888, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002375/0.002375, allocations: 213.5 kB / 22.26 MB, free: 5.117 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.685/1.685, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.909/2.909, allocations: 476.7 MB / 0.7707 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_11_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.002085/0.002085, allocations: 64.06 kB / 1.117 GB, free: 39.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3998, allocations: 169.9 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003074/0.4029, allocations: 1.831 MB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.4042, allocations: 0.7341 MB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.4042, allocations: 0 / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.498e-05/0.4043, allocations: 11.86 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.038e-05/0.4043, allocations: 23.8 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005988/0.4049, allocations: 183 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.4051, allocations: 127.6 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.4053, allocations: 49.11 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.4055, allocations: 71.7 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.475e-05/0.4056, allocations: 47.77 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.4056, allocations: 8 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.4057, allocations: 55.97 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.4058, allocations: 31.91 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.4058, allocations: 59.64 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.4061, allocations: 147.4 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4061, allocations: 0 / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.626e-06/0.4061, allocations: 3.984 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.4061, allocations: 4 kB / 1.287 GB, free: 8.254 MB / 0.9825 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.0006401/0.4067, allocations: 375.1 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4068, allocations: 8.031 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.803e-05/0.4068, allocations: 46.73 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009666/0.4078, allocations: 124.7 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.4081, allocations: 161.1 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.4082, allocations: 119.1 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.4082, allocations: 8 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.4087, allocations: 173.4 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4087, allocations: 4 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.4088, allocations: 4 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4088, allocations: 0 / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006042/0.4094, allocations: 161.8 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.4105, allocations: 464.8 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000982/0.4115, allocations: 214.3 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.4118, allocations: 76.91 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.4118, allocations: 8 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.4118, allocations: 38.44 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.4118, allocations: 0 / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0009921/0.4128, allocations: 265.3 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.4129, allocations: 55.41 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.413, allocations: 138.4 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.413, allocations: 33.7 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.4131, allocations: 112.2 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.4131, allocations: 15.86 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.4132, allocations: 25.7 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4134, allocations: 326.8 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.4137, allocations: 67.92 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.414, allocations: 98.48 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.4146, allocations: 162.4 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4146, allocations: 4 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006502/0.4152, allocations: 201.4 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4152, allocations: 4 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4152, allocations: 0 / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4153, allocations: 8.062 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.4155, allocations: 35.95 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.4155, allocations: 4 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.4157, allocations: 23.91 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.4157, allocations: 7.984 kB / 1.29 GB, free: 4.52 MB / 0.9825 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.0001248/0.4159, allocations: 121.7 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.4159, allocations: 15.91 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00071/0.4166, allocations: 198.2 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4166, allocations: 0 / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4166, allocations: 11.94 kB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4166, allocations: 0 / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.4169, allocations: 213.3 kB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4169, allocations: 0 / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.4172, allocations: 32.33 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4172, allocations: 3.938 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.4172, allocations: 11.98 kB / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4172, allocations: 0 / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.4172, allocations: 7.938 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006998/0.4179, allocations: 283.3 kB / 1.291 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.4179, allocations: 11.91 kB / 1.291 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.4179, allocations: 0 / 1.291 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.4182, allocations: 35.95 kB / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.4183, allocations: 7.984 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.4183, allocations: 4 kB / 1.291 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.249e-05/0.4184, allocations: 110.4 kB / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4184, allocations: 0 / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002714/0.4186, allocations: 27.94 kB / 1.291 GB, free: 3.375 MB / 0.9825 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.001082/0.4197, allocations: 0.8177 MB / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006546/0.4204, allocations: 167.8 kB / 1.292 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4204, allocations: 0 / 1.292 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.4206, allocations: 75.91 kB / 1.292 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.421, allocations: 12.12 kB / 1.292 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.4242, allocations: 1.845 MB / 1.294 GB, free: 356 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.4246, allocations: 0.7002 MB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.735e-05/0.4247, allocations: 19.98 kB / 1.295 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.096e-05/0.4248, allocations: 31.42 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of SimCode: time 9.52e-07/0.4248, allocations: 0 / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.4531, allocations: 2.963 MB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.61, allocations: 8.734 kB / 1.298 GB, free: 12.74 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.743324744980782]