Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009923/0.0009923, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.000964/0.000964, allocations: 177.2 kB / 23.24 MB, free: 1.324 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.937/0.937, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.807/1.807, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.276e-06/3.276e-06, allocations: 3.984 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.61e-05, allocations: 2.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002066/0.002082, allocations: 1.76 MB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008377/0.00292, allocations: 0.6931 MB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.002984, allocations: 4 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.003016, allocations: 19.73 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.048e-05/0.003067, allocations: 15.8 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.003497, allocations: 191.2 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.003638, allocations: 127.6 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.003758, allocations: 41.53 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.003901, allocations: 87.73 kB / 1.004 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.838e-05/0.003959, allocations: 39.88 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.003979, allocations: 12 kB / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.132e-05/0.00406, allocations: 47.97 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.004085, allocations: 31.89 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.004121, allocations: 43.91 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.004299, allocations: 175.4 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004302, allocations: 0 / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004303, allocations: 0 / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.004307, allocations: 0 / 1.004 GB, free: 10.23 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.0004199/0.004727, allocations: 365.7 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.004763, allocations: 13.34 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.004799, allocations: 38.75 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004962/0.005295, allocations: 128.6 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.005487, allocations: 162 kB / 1.005 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.75e-05/0.005564, allocations: 115.4 kB / 1.005 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.005581, allocations: 4.375 kB / 1.005 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.005889, allocations: 227.5 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.005896, allocations: 0 / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.005912, allocations: 8 kB / 1.005 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.005916, allocations: 0 / 1.005 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.006213, allocations: 159.8 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.006818, allocations: 425.3 kB / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.007291, allocations: 206.3 kB / 1.006 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.007436, allocations: 84.84 kB / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.007453, allocations: 0 / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.007474, allocations: 38.56 kB / 1.006 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 7.72e-07/0.007475, allocations: 0 / 1.006 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0005365/0.008011, allocations: 269.3 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.008039, allocations: 51.41 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/0.008122, allocations: 144.6 kB / 1.006 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.008141, allocations: 33.69 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.008185, allocations: 108.3 kB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.008201, allocations: 19.8 kB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.00824, allocations: 29.7 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.008315, allocations: 322.8 kB / 1.007 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.008462, allocations: 71.92 kB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.008617, allocations: 94.44 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.008901, allocations: 170.4 kB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008902, allocations: 0 / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003307/0.009233, allocations: 201.4 kB / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.009246, allocations: 11.94 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.009249, allocations: 0 / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.00926, allocations: 0 / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.00938, allocations: 35.95 kB / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.009384, allocations: 0 / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.009466, allocations: 28.03 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.009476, allocations: 7.984 kB / 1.007 GB, free: 6.488 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.329e-05/0.009549, allocations: 124.3 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.009573, allocations: 15.84 kB / 1.007 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.009936, allocations: 206.3 kB / 1.008 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.009939, allocations: 3.984 kB / 1.008 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.009942, allocations: 0 / 1.008 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.009945, allocations: 0 / 1.008 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.0101, allocations: 189.6 kB / 1.008 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.0101, allocations: 384 / 1.008 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.01019, allocations: 31.95 kB / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01019, allocations: 7.938 kB / 1.008 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.0102, allocations: 11.94 kB / 1.008 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.0102, allocations: 3.938 kB / 1.008 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.0102, allocations: 0 / 1.008 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.01055, allocations: 279.3 kB / 1.008 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.01056, allocations: 15.91 kB / 1.008 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.01058, allocations: 7.922 kB / 1.008 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.01071, allocations: 31.95 kB / 1.008 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.01074, allocations: 4 kB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.01075, allocations: 7.984 kB / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001989/0.01095, allocations: 108.6 kB / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01095, allocations: 0 / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001714/0.01112, allocations: 24 kB / 1.008 GB, free: 5.367 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.0005347/0.01166, allocations: 0.8138 MB / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.012, allocations: 171.8 kB / 1.009 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.012, allocations: 0 / 1.009 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.01214, allocations: 71.92 kB / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.01234, allocations: 21.23 kB / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.01417, allocations: 1.846 MB / 1.011 GB, free: 2.328 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.621e-05/0.01422, allocations: 89.25 kB / 1.011 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.62e-05/0.01428, allocations: 16 kB / 1.011 GB, free: 2.203 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.01434, allocations: 36.48 kB / 1.011 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of SimCode: time 6.62e-07/0.01434, allocations: 0 / 1.011 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07443/0.08877, allocations: 3.592 MB / 1.015 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.943/7.032, allocations: 3.172 kB / 1.015 GB, free: 14.73 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothBlocks_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.67371557187289]