Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008194/0.0008194, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008953/0.0008953, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9131/0.9131, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.848/1.848, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.601e-05, allocations: 8.812 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001964/0.00198, allocations: 1.762 MB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009732/0.002954, allocations: 0.6931 MB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/0.003017, allocations: 0 / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.841e-05/0.003055, allocations: 15.75 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.741e-05/0.003113, allocations: 19.8 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.003597, allocations: 190.9 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.003757, allocations: 123.6 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.003889, allocations: 37.59 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.004054, allocations: 91.78 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.004124, allocations: 35.89 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.004147, allocations: 12 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.061e-05/0.004238, allocations: 55.89 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.004262, allocations: 31.84 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.004296, allocations: 39.89 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.004491, allocations: 167.5 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004493, allocations: 4 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.353e-06/0.004495, allocations: 0 / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004499, allocations: 0 / 1.003 GB, free: 10.19 MB / 0.9636 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.0004436/0.004942, allocations: 365.6 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.004984, allocations: 8.75 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.005022, allocations: 46.75 kB / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/0.005529, allocations: 136.6 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.005736, allocations: 150.1 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.754e-05/0.005823, allocations: 119.4 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.005839, allocations: 12.38 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.006163, allocations: 222.7 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.006171, allocations: 0 / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.006188, allocations: 4 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.006193, allocations: 4 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.006511, allocations: 163.8 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.007138, allocations: 413.3 kB / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.007635, allocations: 210.3 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.007786, allocations: 80.89 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.007808, allocations: 8 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.007832, allocations: 30.56 kB / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.007833, allocations: 0 / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0006828/0.008516, allocations: 269.3 kB / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.008543, allocations: 51.41 kB / 1.005 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.008627, allocations: 141.2 kB / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.008646, allocations: 29.7 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.008693, allocations: 116.1 kB / 1.005 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.008712, allocations: 23.83 kB / 1.005 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.008754, allocations: 29.7 kB / 1.005 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.008825, allocations: 318.8 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.008978, allocations: 75.91 kB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.009135, allocations: 94.44 kB / 1.006 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.009437, allocations: 162.4 kB / 1.006 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009439, allocations: 0 / 1.006 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003466/0.009786, allocations: 209.5 kB / 1.006 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.009801, allocations: 7.938 kB / 1.006 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.009805, allocations: 0 / 1.006 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.009819, allocations: 7.984 kB / 1.006 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.009951, allocations: 35.95 kB / 1.006 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.009958, allocations: 4.156 kB / 1.006 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.47e-05/0.01004, allocations: 28.22 kB / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.01005, allocations: 0 / 1.006 GB, free: 6.438 MB / 0.9636 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 7.307e-05/0.01012, allocations: 125.8 kB / 1.006 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.01015, allocations: 19.84 kB / 1.006 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.01054, allocations: 202.3 kB / 1.007 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01054, allocations: 0 / 1.007 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01055, allocations: 0 / 1.007 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01055, allocations: 4 kB / 1.007 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.01071, allocations: 189.6 kB / 1.007 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01071, allocations: 0 / 1.007 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.68e-05/0.01081, allocations: 35.89 kB / 1.007 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01081, allocations: 3.938 kB / 1.007 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01082, allocations: 4 kB / 1.007 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.01082, allocations: 3.984 kB / 1.007 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.01083, allocations: 4 kB / 1.007 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.01118, allocations: 279.3 kB / 1.007 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/0.01119, allocations: 7.906 kB / 1.007 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.0112, allocations: 11.94 kB / 1.007 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.01134, allocations: 31.95 kB / 1.007 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.01137, allocations: 3.984 kB / 1.007 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.01138, allocations: 11.92 kB / 1.007 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.688e-05/0.01142, allocations: 113.3 kB / 1.007 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01142, allocations: 0 / 1.007 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001694/0.01159, allocations: 27.94 kB / 1.007 GB, free: 5.309 MB / 0.9636 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.0005309/0.01212, allocations: 0.8138 MB / 1.008 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.01248, allocations: 168 kB / 1.008 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01249, allocations: 0 / 1.008 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.01264, allocations: 80.05 kB / 1.008 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.01284, allocations: 12.12 kB / 1.008 GB, free: 4.211 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.01461, allocations: 1.856 MB / 1.01 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.694e-05/0.01466, allocations: 89.25 kB / 1.01 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.804e-05/0.01472, allocations: 16 kB / 1.01 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.01479, allocations: 32.48 kB / 1.01 GB, free: 2.109 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.01479, allocations: 0 / 1.01 GB, free: 2.109 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.03068, allocations: 3.585 MB / 1.014 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/6.807, allocations: 7.984 kB / 1.014 GB, free: 14.66 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.998663201928139]