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.001063/0.001063, 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.001011/0.001011, allocations: 192 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.233/2.233, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001476, allocations: 71.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6668/0.6682, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00218/0.6705, allocations: 1.431 MB / 0.9511 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004224/0.6709, allocations: 238.6 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.6709, allocations: 1.031 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.671, allocations: 7.938 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.879e-05/0.671, allocations: 5.203 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.6713, allocations: 61.19 kB / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.682e-05/0.6714, allocations: 17.84 kB / 0.9514 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.496e-05/0.6715, allocations: 10.55 kB / 0.9514 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.071e-05/0.6715, allocations: 6.5 kB / 0.9514 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.055e-05/0.6715, allocations: 15.8 kB / 0.9515 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.607e-06/0.6716, allocations: 1.094 kB / 0.9515 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.6717, allocations: 64.16 kB / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.715e-06/0.6717, allocations: 7.938 kB / 0.9515 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.6717, allocations: 14.67 kB / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.6718, allocations: 51.27 kB / 0.9516 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.6718, allocations: 1.156 kB / 0.9516 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6718, allocations: 0 / 0.9516 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.6718, allocations: 0 / 0.9516 GB, free: 7.727 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.0003243/0.6722, allocations: 342.7 kB / 0.9519 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.6722, allocations: 9.312 kB / 0.9519 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.6722, allocations: 38.75 kB / 0.952 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.971e-05/0.6723, allocations: 2.312 kB / 0.952 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.212e-05/0.6723, allocations: 170.2 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.6724, allocations: 1.406 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.6724, allocations: 1.344 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.6725, allocations: 53.02 kB / 0.9522 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.6725, allocations: 9.406 kB / 0.9522 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.6725, allocations: 0 / 0.9522 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.6725, allocations: 0 / 0.9522 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.6727, allocations: 35.38 kB / 0.9522 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.6729, allocations: 248.4 kB / 0.9525 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.673, allocations: 39 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.6731, allocations: 22.22 kB / 0.9525 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000467/0.6736, allocations: 460.1 kB / 0.953 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.6736, allocations: 31.22 kB / 0.953 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.6736, allocations: 3.984 kB / 0.953 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003017/0.674, allocations: 84.42 kB / 0.9531 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.674, allocations: 52.88 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.13e-05/0.674, allocations: 103.7 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.533e-06/0.674, allocations: 25.7 kB / 0.9532 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.965e-05/0.6741, allocations: 80.14 kB / 0.9533 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.6741, allocations: 9.219 kB / 0.9533 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.6741, allocations: 12.91 kB / 0.9533 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.533e-05/0.6741, allocations: 314.8 kB / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.522e-05/0.6742, allocations: 25.53 kB / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.6743, allocations: 13.08 kB / 0.9537 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.6744, allocations: 35.89 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6744, allocations: 4 kB / 0.9537 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001643/0.6746, allocations: 72.47 kB / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.6746, allocations: 5.438 kB / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.6746, allocations: 0 / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.6747, allocations: 5.219 kB / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.6747, allocations: 9.703 kB / 0.9538 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.6747, allocations: 0 / 0.9538 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.6748, allocations: 3.25 kB / 0.9538 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.6748, allocations: 10 kB / 0.9538 GB, free: 5.367 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 3.669e-05/0.6748, allocations: 115.3 kB / 0.9539 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.6749, allocations: 5.062 kB / 0.9539 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.675, allocations: 74.19 kB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.6751, allocations: 0 / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.6751, allocations: 1.281 kB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6751, allocations: 0 / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.504e-05/0.6752, allocations: 166.6 kB / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6752, allocations: 3.984 kB / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.6752, allocations: 6.375 kB / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.6752, allocations: 0 / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.6752, allocations: 0 / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6752, allocations: 1.25 kB / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.6753, allocations: 0 / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.6754, allocations: 170.5 kB / 0.9543 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.6755, allocations: 82.44 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.6755, allocations: 1.188 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.6755, allocations: 3.562 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.6756, allocations: 5.359 kB / 0.9544 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.6756, allocations: 0 / 0.9544 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.839e-05/0.6756, allocations: 83.34 kB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6756, allocations: 0 / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002148/0.6758, allocations: 17.22 kB / 0.9545 GB, free: 4.629 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.0003836/0.6762, allocations: 0.7257 MB / 0.9552 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.6764, allocations: 32.56 kB / 0.9553 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6764, allocations: 1.406 kB / 0.9553 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.562e-05/0.6765, allocations: 18.66 kB / 0.9553 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.6767, allocations: 6.344 kB / 0.9553 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.677, allocations: 141.7 kB / 0.9554 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.823e-05/0.6771, allocations: 0.6799 MB / 0.9561 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.777e-05/0.6771, allocations: 1.531 kB / 0.9561 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.6772, allocations: 12.59 kB / 0.9561 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6772, allocations: 0 / 0.9561 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.763/2.44, allocations: 1.488 MB / 0.9575 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/13.77, allocations: 1.531 kB / 0.9576 GB, free: 2.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 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.mat","/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