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.001286/0.001286, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002251/0.002251, allocations: 215.4 kB / 22.24 MB, free: 5.258 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.793 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.275/3.275, allocations: 0.49 GB / 0.7951 GB, free: 35.41 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.002044/0.002044, allocations: 67.33 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4382, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003482/0.4417, allocations: 1.759 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.4432, allocations: 0.6896 MB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.4433, allocations: 4 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.603e-05/0.4433, allocations: 11.86 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.637e-05/0.4434, allocations: 19.8 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.444, allocations: 190.2 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.4443, allocations: 131.7 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.4444, allocations: 45.75 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003603/0.4448, allocations: 67.7 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.931e-05/0.4449, allocations: 55.75 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.4449, allocations: 15.94 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.445, allocations: 47.97 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.4451, allocations: 27.91 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.4451, allocations: 43.78 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.4455, allocations: 155.4 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4455, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4455, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4455, allocations: 4 kB / 1.329 GB, free: 14.2 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.0006934/0.4462, allocations: 369.7 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4462, allocations: 8.031 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.908e-05/0.4463, allocations: 46.73 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.4473, allocations: 124.7 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.4477, allocations: 160.1 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.4478, allocations: 123.1 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.4479, allocations: 8 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/0.4484, allocations: 216.9 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.4485, allocations: 4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.4485, allocations: 4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4485, allocations: 3.938 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006598/0.4491, allocations: 159.8 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.4504, allocations: 433 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.4514, allocations: 214.3 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.4517, allocations: 76.91 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.4517, allocations: 3.984 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.4518, allocations: 42.48 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.4518, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.001007/0.4528, allocations: 257.4 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.4528, allocations: 55.41 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.453, allocations: 140.1 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.453, allocations: 37.7 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.4531, allocations: 112.2 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.4531, allocations: 15.86 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/0.4532, allocations: 25.7 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4534, allocations: 322.8 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.4537, allocations: 67.92 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.454, allocations: 106.5 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/0.4545, allocations: 158.4 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4545, allocations: 0 / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000718/0.4553, allocations: 205.4 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.4553, allocations: 8 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4553, allocations: 4.25 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4553, allocations: 0 / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.4556, allocations: 44.02 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4556, allocations: 4 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.4558, allocations: 31.84 kB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.4558, allocations: 4 kB / 1.332 GB, free: 10.43 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.000124/0.4559, allocations: 122.2 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.456, allocations: 7.953 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007095/0.4567, allocations: 210.2 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4567, allocations: 0 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.4567, allocations: 3.984 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4567, allocations: 0 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.457, allocations: 189.5 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.457, allocations: 4 kB / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.4572, allocations: 31.89 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4572, allocations: 4 kB / 1.333 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.4572, allocations: 3.984 kB / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4572, allocations: 0 / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4572, allocations: 0 / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007679/0.458, allocations: 295.3 kB / 1.333 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.458, allocations: 11.91 kB / 1.333 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.458, allocations: 0 / 1.333 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.4583, allocations: 31.95 kB / 1.333 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.4584, allocations: 3.984 kB / 1.333 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.4584, allocations: 11.98 kB / 1.333 GB, free: 9.438 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.284e-05/0.4585, allocations: 105.3 kB / 1.333 GB, free: 9.336 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4585, allocations: 4 kB / 1.333 GB, free: 9.332 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002661/0.4588, allocations: 23.94 kB / 1.333 GB, free: 9.309 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.001052/0.4598, allocations: 0.8139 MB / 1.334 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006517/0.4605, allocations: 171.8 kB / 1.334 GB, free: 8.301 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4605, allocations: 0 / 1.334 GB, free: 8.301 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002941/0.4608, allocations: 79.91 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.4611, allocations: 13.53 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.4647, allocations: 1.843 MB / 1.336 GB, free: 6.281 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.659e-05/0.4648, allocations: 89.19 kB / 1.336 GB, free: 6.176 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.4649, allocations: 23.69 kB / 1.336 GB, free: 6.152 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.465, allocations: 35.41 kB / 1.336 GB, free: 6.117 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/0.465, allocations: 0 / 1.336 GB, free: 6.117 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.4986, allocations: 3.499 MB / 1.34 GB, free: 2.758 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.47, allocations: 6.031 kB / 1.34 GB, free: 2.754 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.6717010299908]