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.0008993/0.0008993, allocations: 108.3 kB / 19.72 MB, free: 420 kB / 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.001096/0.001096, allocations: 220.3 kB / 23.03 MB, free: 2.953 MB / 13.93 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.072/1.072, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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 2.097/2.097, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.001029/0.001029, allocations: 71.89 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8321, allocations: 180 MB / 1.352 GB, free: 1.668 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002849/0.8349, allocations: 1.77 MB / 1.354 GB, free: 15.89 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.8359, allocations: 0.6858 MB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.279e-05/0.836, allocations: 0 / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.304e-05/0.8361, allocations: 11.86 kB / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.692e-05/0.8361, allocations: 23.73 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.8367, allocations: 180.8 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.8369, allocations: 127.7 kB / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.8371, allocations: 43.77 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.8372, allocations: 67.77 kB / 1.355 GB, free: 14.76 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.536e-05/0.8373, allocations: 51.69 kB / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.8373, allocations: 8 kB / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.8375, allocations: 51.97 kB / 1.355 GB, free: 14.65 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.8375, allocations: 31.91 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.8375, allocations: 47.77 kB / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.8377, allocations: 147.4 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8378, allocations: 0 / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8378, allocations: 0 / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.8378, allocations: 4 kB / 1.356 GB, free: 14.42 MB / 1.042 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.0004994/0.8383, allocations: 371.3 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.8383, allocations: 8.922 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.8384, allocations: 50.67 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005526/0.8389, allocations: 132.6 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.8392, allocations: 153 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.8393, allocations: 119.1 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.8393, allocations: 19.94 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.8397, allocations: 212.9 kB / 1.357 GB, free: 13.28 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.8397, allocations: 3.938 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.8397, allocations: 4 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.8397, allocations: 4 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.84, allocations: 159.8 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000709/0.8407, allocations: 416.8 kB / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.8412, allocations: 214.3 kB / 1.357 GB, free: 12.44 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.8414, allocations: 80.91 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.8414, allocations: 4 kB / 1.357 GB, free: 12.35 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.8414, allocations: 38.48 kB / 1.358 GB, free: 12.3 MB / 1.042 GB Notification: Performance of pre-optimization done (n=6): time 2.835e-06/0.8414, allocations: 0 / 1.358 GB, free: 12.3 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.0005754/0.842, allocations: 265.3 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.842, allocations: 51.41 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.8421, allocations: 146.4 kB / 1.358 GB, free: 11.82 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.8422, allocations: 25.7 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.8422, allocations: 112.2 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.8422, allocations: 23.8 kB / 1.358 GB, free: 11.65 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.8423, allocations: 25.7 kB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.8424, allocations: 318.8 kB / 1.358 GB, free: 11.3 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.8425, allocations: 75.92 kB / 1.359 GB, free: 11.23 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.8427, allocations: 94.48 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.843, allocations: 166.6 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.843, allocations: 4 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003454/0.8433, allocations: 209.4 kB / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.8433, allocations: 4 kB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.8433, allocations: 0 / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.8434, allocations: 4 kB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.8435, allocations: 31.95 kB / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.8435, allocations: 12.08 kB / 1.359 GB, free: 10.69 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.8436, allocations: 23.91 kB / 1.359 GB, free: 10.66 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.8436, allocations: 11.98 kB / 1.359 GB, free: 10.65 MB / 1.042 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 9.415e-05/0.8437, allocations: 122.3 kB / 1.359 GB, free: 10.52 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.8437, allocations: 7.953 kB / 1.359 GB, free: 10.52 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.8442, allocations: 206.2 kB / 1.359 GB, free: 10.31 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.8442, allocations: 7.984 kB / 1.359 GB, free: 10.3 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8442, allocations: 0 / 1.359 GB, free: 10.3 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.8442, allocations: 0 / 1.359 GB, free: 10.3 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.8444, allocations: 189.5 kB / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.8444, allocations: 7.875 kB / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.8445, allocations: 31.95 kB / 1.36 GB, free: 10.04 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.8445, allocations: 0 / 1.36 GB, free: 10.04 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.8445, allocations: 3.984 kB / 1.36 GB, free: 10.03 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.8445, allocations: 8 kB / 1.36 GB, free: 10.02 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8445, allocations: 0 / 1.36 GB, free: 10.02 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.8449, allocations: 287.5 kB / 1.36 GB, free: 9.727 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.8449, allocations: 19.89 kB / 1.36 GB, free: 9.707 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.845, allocations: 0 / 1.36 GB, free: 9.707 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.8452, allocations: 31.95 kB / 1.36 GB, free: 9.676 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.8452, allocations: 11.98 kB / 1.36 GB, free: 9.664 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.8453, allocations: 3.984 kB / 1.36 GB, free: 9.66 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.458e-05/0.8453, allocations: 109.3 kB / 1.36 GB, free: 9.555 MB / 1.042 GB Notification: Performance of sort global known variables: time 1e-07/0.8453, allocations: 3.938 kB / 1.36 GB, free: 9.551 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001922/0.8455, allocations: 23.95 kB / 1.36 GB, free: 9.527 MB / 1.042 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.0006253/0.8461, allocations: 0.8177 MB / 1.361 GB, free: 8.684 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.8465, allocations: 167.8 kB / 1.361 GB, free: 8.52 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8465, allocations: 0 / 1.361 GB, free: 8.52 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.8467, allocations: 75.91 kB / 1.361 GB, free: 8.445 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.8469, allocations: 8 kB / 1.361 GB, free: 8.438 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.8488, allocations: 1.848 MB / 1.363 GB, free: 6.504 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.667e-05/0.8489, allocations: 91.25 kB / 1.363 GB, free: 6.395 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.794e-05/0.849, allocations: 12 kB / 1.363 GB, free: 6.383 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.838e-05/0.8491, allocations: 35.41 kB / 1.363 GB, free: 6.348 MB / 1.042 GB Notification: Performance of SimCode: time 9.62e-07/0.8491, allocations: 0 / 1.363 GB, free: 6.348 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08602/0.9351, allocations: 3.468 MB / 1.366 GB, free: 3.027 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.229/8.165, allocations: 10.56 kB / 1.366 GB, free: 3.02 MB / 1.042 GB " [Timeout remaining time 292] (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: 13.524049948900938]