Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 194.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.31/2.31, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 67.89 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6468/0.6483, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002875/0.6512, allocations: 1.43 MB / 0.9511 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004961/0.6518, allocations: 240.3 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.318e-05/0.6518, allocations: 3.938 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.6518, allocations: 0 / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.433e-05/0.6519, allocations: 5.281 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.6523, allocations: 57.91 kB / 0.9514 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.413e-05/0.6523, allocations: 20.88 kB / 0.9514 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.6524, allocations: 6.953 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.828e-05/0.6525, allocations: 10.81 kB / 0.9514 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.463e-05/0.6525, allocations: 14.67 kB / 0.9515 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.6526, allocations: 2.812 kB / 0.9515 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.6527, allocations: 59.44 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.6527, allocations: 11.92 kB / 0.9515 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.6528, allocations: 6.281 kB / 0.9515 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.6529, allocations: 51.58 kB / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6529, allocations: 1.094 kB / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6529, allocations: 4 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.653, allocations: 0 / 0.9516 GB, free: 7.703 MB / 0.7169 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.0004165/0.6534, allocations: 346.3 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.6534, allocations: 9.938 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.388e-05/0.6535, allocations: 34.73 kB / 0.952 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.6535, allocations: 2.281 kB / 0.952 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.697e-05/0.6536, allocations: 169.5 kB / 0.9521 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.6536, allocations: 1.5 kB / 0.9521 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.6536, allocations: 9.469 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.6538, allocations: 45.48 kB / 0.9522 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.6538, allocations: 3.938 kB / 0.9522 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.6538, allocations: 5.188 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.6538, allocations: 0 / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.654, allocations: 43.09 kB / 0.9522 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.6542, allocations: 253.1 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.6544, allocations: 38.44 kB / 0.9525 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.877e-05/0.6545, allocations: 22.89 kB / 0.9525 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005241/0.655, allocations: 455.2 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.655, allocations: 31.69 kB / 0.953 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.655, allocations: 0 / 0.953 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003265/0.6554, allocations: 85.27 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.6554, allocations: 51.53 kB / 0.9531 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.599e-05/0.6554, allocations: 102.7 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.6554, allocations: 30.92 kB / 0.9532 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.018e-05/0.6555, allocations: 81.2 kB / 0.9533 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.6555, allocations: 5.688 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.6555, allocations: 10.81 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.6556, allocations: 320.1 kB / 0.9536 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.6557, allocations: 12.61 kB / 0.9537 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.6557, allocations: 22.11 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.6559, allocations: 35.39 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6559, allocations: 3.938 kB / 0.9537 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001799/0.6561, allocations: 68.41 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.6561, allocations: 9.094 kB / 0.9538 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.6561, allocations: 0 / 0.9538 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.6561, allocations: 5.125 kB / 0.9538 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.6562, allocations: 9.984 kB / 0.9538 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6562, allocations: 0 / 0.9538 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.6563, allocations: 8.672 kB / 0.9538 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.6563, allocations: 0 / 0.9538 GB, free: 5.344 MB / 0.7169 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.105e-05/0.6563, allocations: 115.2 kB / 0.9539 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.6564, allocations: 5.625 kB / 0.9539 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.6566, allocations: 74.75 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6566, allocations: 0 / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6566, allocations: 0 / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6566, allocations: 1.5 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.6567, allocations: 161 kB / 0.9542 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6567, allocations: 5.625 kB / 0.9542 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.6568, allocations: 9.266 kB / 0.9542 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.6568, allocations: 7.969 kB / 0.9542 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.6568, allocations: 5.438 kB / 0.9542 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6568, allocations: 0 / 0.9542 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6568, allocations: 0 / 0.9542 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.657, allocations: 159.6 kB / 0.9543 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.657, allocations: 78.8 kB / 0.9544 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.6571, allocations: 4.031 kB / 0.9544 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.6571, allocations: 8.078 kB / 0.9544 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.6572, allocations: 5.531 kB / 0.9544 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.6572, allocations: 3.938 kB / 0.9544 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.158e-05/0.6572, allocations: 79.28 kB / 0.9545 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6572, allocations: 0 / 0.9545 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002321/0.6575, allocations: 13.22 kB / 0.9545 GB, free: 4.605 MB / 0.7169 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.0004339/0.6579, allocations: 0.7165 MB / 0.9552 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.6581, allocations: 42.27 kB / 0.9553 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.6581, allocations: 3.938 kB / 0.9553 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.6582, allocations: 19.45 kB / 0.9553 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.6584, allocations: 1.25 kB / 0.9553 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.6588, allocations: 138 kB / 0.9554 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.6589, allocations: 0.6842 MB / 0.9561 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.027e-05/0.6589, allocations: 1.484 kB / 0.9561 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.659, allocations: 8.938 kB / 0.9561 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.659, allocations: 0 / 0.9561 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.6768, allocations: 1.486 MB / 0.9575 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/8.447, allocations: 5.906 kB / 0.9576 GB, free: 2.156 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches