Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.478/2.478, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 71.88 kB / 1.107 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7989, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002029/0.801, allocations: 1.468 MB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004085/0.8014, allocations: 240.8 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.8014, allocations: 0.9688 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.8014, allocations: 1.312 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.084e-05/0.8014, allocations: 4.875 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.8017, allocations: 58.55 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.621e-05/0.8018, allocations: 30.2 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.814e-05/0.8019, allocations: 3.609 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.8019, allocations: 9.578 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.731e-05/0.8019, allocations: 12.67 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.8019, allocations: 2.562 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.8021, allocations: 58.47 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.8021, allocations: 5.672 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.8021, allocations: 11.23 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.8022, allocations: 58.03 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8022, allocations: 1.406 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8022, allocations: 0 / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.8023, allocations: 4 kB / 1.273 GB, free: 6.453 MB / 0.9981 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.0003436/0.8026, allocations: 340.3 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.8026, allocations: 9.656 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.237e-05/0.8027, allocations: 32.62 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.084e-05/0.8027, allocations: 5.609 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.857e-05/0.8027, allocations: 167.5 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.8027, allocations: 1.625 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-06/0.8028, allocations: 1.062 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.8029, allocations: 53.47 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.8029, allocations: 7.875 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.8029, allocations: 0.7812 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.8029, allocations: 0.9375 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.8031, allocations: 32.81 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.8033, allocations: 242.7 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.8034, allocations: 44.55 kB / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.8035, allocations: 19.28 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004551/0.8039, allocations: 461.6 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.061e-05/0.8039, allocations: 33.23 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.8039, allocations: 1.125 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003108/0.8043, allocations: 81.3 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.414e-05/0.8043, allocations: 56.28 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.374e-05/0.8043, allocations: 103.2 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-06/0.8043, allocations: 29.7 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.013e-05/0.8043, allocations: 84.86 kB / 1.275 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.8044, allocations: 5.547 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.8044, allocations: 16.61 kB / 1.275 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.394e-05/0.8044, allocations: 314.2 kB / 1.275 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.8045, allocations: 12.73 kB / 1.275 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.777e-05/0.8046, allocations: 27.33 kB / 1.275 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.8047, allocations: 35.88 kB / 1.275 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8047, allocations: 3.938 kB / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001646/0.8049, allocations: 67.3 kB / 1.275 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.8049, allocations: 6.969 kB / 1.275 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.8049, allocations: 192 / 1.275 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.8049, allocations: 5.062 kB / 1.275 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.381e-05/0.805, allocations: 8.75 kB / 1.275 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.805, allocations: 1.312 kB / 1.275 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.805, allocations: 11.22 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.805, allocations: 0.625 kB / 1.276 GB, free: 4.227 MB / 0.9981 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 3.683e-05/0.805, allocations: 119.3 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.8051, allocations: 2.156 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.8053, allocations: 75.53 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.8053, allocations: 0 / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.8053, allocations: 0.9062 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.8053, allocations: 4 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.447e-05/0.8054, allocations: 160.9 kB / 1.276 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8054, allocations: 0 / 1.276 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.217e-05/0.8054, allocations: 9.125 kB / 1.276 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.8054, allocations: 0 / 1.276 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.8054, allocations: 0.9688 kB / 1.276 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.8054, allocations: 4.031 kB / 1.276 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.8054, allocations: 0.9375 kB / 1.276 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.8056, allocations: 167.6 kB / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.8056, allocations: 77.11 kB / 1.276 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.8056, allocations: 4.156 kB / 1.276 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.8057, allocations: 12.03 kB / 1.276 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.8057, allocations: 2.047 kB / 1.276 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.8057, allocations: 1 kB / 1.276 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.897e-05/0.8058, allocations: 79.75 kB / 1.276 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8058, allocations: 1.031 kB / 1.276 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002194/0.806, allocations: 17.69 kB / 1.276 GB, free: 3.527 MB / 0.9981 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.0003749/0.8063, allocations: 0.7169 MB / 1.277 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000189/0.8065, allocations: 39.75 kB / 1.277 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8065, allocations: 4.719 kB / 1.277 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.617e-05/0.8066, allocations: 15.02 kB / 1.277 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.8068, allocations: 5.594 kB / 1.277 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.8072, allocations: 151.9 kB / 1.277 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.8074, allocations: 0.6794 MB / 1.278 GB, free: 17.97 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.8074, allocations: 5.062 kB / 1.278 GB, free: 17.97 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.8074, allocations: 12.94 kB / 1.278 GB, free: 17.96 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.8074, allocations: 0 / 1.278 GB, free: 17.96 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.8296, allocations: 1.496 MB / 1.279 GB, free: 17.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.98/7.81, allocations: 7.203 kB / 1.279 GB, free: 17.59 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.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: 13.146237916997052]