Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.BesselJ1.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.0008005/0.0008005, allocations: 80.45 kB / 19.96 MB, free: 4.594 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.0009355/0.0009355, allocations: 173.2 kB / 23.24 MB, free: 1.316 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.8827/0.8827, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.57 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.BesselJ1,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.363e-05, allocations: 2.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001656/0.00167, allocations: 1.456 MB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005139/0.002183, allocations: 243.9 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.002214, allocations: 3.938 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.002241, allocations: 0 / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.00228, allocations: 4 kB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.002623, allocations: 63.64 kB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.665e-05/0.002679, allocations: 23.92 kB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.693e-05/0.002766, allocations: 11.97 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.64e-05/0.002813, allocations: 8 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.438e-05/0.002847, allocations: 11.98 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.002857, allocations: 0 / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.002971, allocations: 63.81 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.002983, allocations: 0 / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.002999, allocations: 8 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.003127, allocations: 71.83 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003129, allocations: 0 / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00313, allocations: 0 / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.003133, allocations: 0 / 1.003 GB, free: 11.54 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003135/0.003447, allocations: 270.3 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.00348, allocations: 9.344 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.821e-05/0.003509, allocations: 38.69 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.842e-05/0.003527, allocations: 0.9375 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.623e-05/0.003593, allocations: 109.7 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.003603, allocations: 8.312 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.00361, allocations: 8.375 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.003717, allocations: 46.23 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.003724, allocations: 192 / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.003732, allocations: 4.375 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.003736, allocations: 4.125 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.329e-05/0.00382, allocations: 35.95 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.004059, allocations: 212 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.468e-05/0.004133, allocations: 42.53 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.004179, allocations: 20.91 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003241/0.004503, allocations: 79.91 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.004521, allocations: 34.5 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.004522, allocations: 4 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002201/0.004743, allocations: 81.64 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.004768, allocations: 55.34 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.138e-05/0.00482, allocations: 93.86 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.004829, allocations: 25.7 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.004862, allocations: 88.14 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.004878, allocations: 7.938 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.004902, allocations: 13.84 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.004977, allocations: 318.8 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.005016, allocations: 11.98 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.005053, allocations: 23.97 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.528e-05/0.005128, allocations: 32.83 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.00513, allocations: 3.938 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001061/0.005236, allocations: 77.59 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.005248, allocations: 4 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.005252, allocations: 0 / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.005262, allocations: 4 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.32e-05/0.005316, allocations: 4 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.005323, allocations: 7.969 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.183e-05/0.005345, allocations: 4 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-06/0.005349, allocations: 0 / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.038e-05/0.0054, allocations: 121.8 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.005412, allocations: 7.891 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.005535, allocations: 77.14 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.005537, allocations: 3.984 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.005541, allocations: 0 / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005544, allocations: 0 / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.291e-05/0.005637, allocations: 124.8 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.005637, allocations: 0 / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.005662, allocations: 11.97 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.005664, allocations: 7.938 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.005669, allocations: 0 / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.00567, allocations: 3.984 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005671, allocations: 0 / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.005786, allocations: 155.5 kB / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.005793, allocations: 11.92 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-06/0.005801, allocations: 0 / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.005837, allocations: 4 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.005867, allocations: 8.016 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.005869, allocations: 0 / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.005893, allocations: 83.28 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005893, allocations: 0 / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001594/0.006052, allocations: 19.94 kB / 1.005 GB, free: 8.883 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 (2): * Single equations (assignments): 2 * 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.000354/0.006406, allocations: 0.7162 MB / 1.006 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.006519, allocations: 39.95 kB / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.00652, allocations: 0 / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.006559, allocations: 15.98 kB / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.006721, allocations: 7.938 kB / 1.006 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.007014, allocations: 138.7 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.675e-05/0.007051, allocations: 59.34 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.458e-05/0.007065, allocations: 0 / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.007092, allocations: 12.5 kB / 1.006 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of SimCode: time 3.5e-07/0.007092, allocations: 3.938 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07357/0.08067, allocations: 2.197 MB / 1.008 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.201, allocations: 2.062 kB / 1.008 GB, free: 5.746 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.BesselJ1.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_BesselJ1.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.BesselJ1_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.BesselJ1_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.BesselJ1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.BesselJ1_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.BesselJ1_fmpy_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 ../Buildings_13_Buildings_Utilities_Math_Examples_BesselJ1.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.BesselJ1_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.631010313518345]