Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1",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.001379/0.001379, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001585, allocations: 193 kB / 16.14 MB, free: 6.691 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5489/0.5502, allocations: 140.4 MB / 0.9491 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001544/0.5518, allocations: 0.6405 MB / 0.9497 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003955/0.5522, allocations: 203.6 kB / 0.9499 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.097e-06/0.5522, allocations: 0 / 0.9499 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.5522, allocations: 0 / 0.9499 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.529e-06/0.5522, allocations: 0 / 0.9499 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.5525, allocations: 40.41 kB / 0.9499 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.534e-05/0.5525, allocations: 1.375 kB / 0.9499 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.209e-05/0.5526, allocations: 5.375 kB / 0.9499 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.026e-05/0.5526, allocations: 4 kB / 0.9499 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.634e-05/0.5526, allocations: 1.375 kB / 0.9499 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.04e-06/0.5526, allocations: 0 / 0.9499 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.5528, allocations: 70.11 kB / 0.95 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.753e-06/0.5528, allocations: 0 / 0.95 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.327e-05/0.5528, allocations: 0 / 0.95 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.309e-05/0.5529, allocations: 41.62 kB / 0.95 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5529, allocations: 0 / 0.95 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.41e-07/0.5529, allocations: 0 / 0.95 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.5529, allocations: 3.938 kB / 0.95 GB, free: 8.414 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001938/0.5531, allocations: 330.4 kB / 0.9504 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.5531, allocations: 9.625 kB / 0.9504 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.856e-05/0.5532, allocations: 30.75 kB / 0.9504 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.791e-05/0.5532, allocations: 0.9375 kB / 0.9504 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.873e-05/0.5532, allocations: 160.4 kB / 0.9505 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.5532, allocations: 1.75 kB / 0.9505 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.5533, allocations: 384 / 0.9505 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.678e-05/0.5533, allocations: 33 kB / 0.9506 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.5533, allocations: 7.938 kB / 0.9506 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.5533, allocations: 7.984 kB / 0.9506 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.5534, allocations: 0 / 0.9506 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.588e-05/0.5534, allocations: 1.375 kB / 0.9506 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.555e-05/0.5535, allocations: 151 kB / 0.9507 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.6e-05/0.5535, allocations: 17.33 kB / 0.9508 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.124e-05/0.5535, allocations: 6.234 kB / 0.9508 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005704/0.5541, allocations: 461.5 kB / 0.9512 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.5541, allocations: 31.94 kB / 0.9512 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.5541, allocations: 0 / 0.9512 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 9.644e-05/0.5542, allocations: 43.06 kB / 0.9513 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.5542, allocations: 51.41 kB / 0.9513 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.269e-05/0.5543, allocations: 93.98 kB / 0.9514 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/0.5543, allocations: 27.08 kB / 0.9514 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.286e-06/0.5543, allocations: 80.14 kB / 0.9515 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.5543, allocations: 3.906 kB / 0.9515 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.5543, allocations: 16.47 kB / 0.9515 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.408e-05/0.5544, allocations: 310.8 kB / 0.9518 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.5544, allocations: 1.375 kB / 0.9518 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.99e-06/0.5544, allocations: 1.375 kB / 0.9518 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.98e-05/0.5544, allocations: 15.66 kB / 0.9518 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5544, allocations: 0 / 0.9518 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.025e-05/0.5545, allocations: 39.14 kB / 0.9519 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.5545, allocations: 8.062 kB / 0.9519 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.5545, allocations: 9.297 kB / 0.9519 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.5545, allocations: 0 / 0.9519 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.143e-05/0.5545, allocations: 1.375 kB / 0.9519 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.5545, allocations: 0 / 0.9519 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-06/0.5546, allocations: 1.375 kB / 0.9519 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.5546, allocations: 4.031 kB / 0.9519 GB, free: 6.27 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 (1): * Single equations (assignments): 1 * 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.442e-05/0.5546, allocations: 111.2 kB / 0.952 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-06/0.5546, allocations: 1.375 kB / 0.952 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.5547, allocations: 36.89 kB / 0.9521 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.5547, allocations: 3.938 kB / 0.9521 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.5547, allocations: 0 / 0.9521 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-06/0.5547, allocations: 5.312 kB / 0.9521 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.101e-05/0.5547, allocations: 149.7 kB / 0.9522 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.5547, allocations: 1.375 kB / 0.9522 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/0.5548, allocations: 5.406 kB / 0.9522 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.5548, allocations: 0 / 0.9522 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.5548, allocations: 5.312 kB / 0.9522 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.5548, allocations: 0 / 0.9522 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5548, allocations: 0 / 0.9522 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.152e-05/0.5548, allocations: 55.72 kB / 0.9523 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.5548, allocations: 85.11 kB / 0.9523 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.5549, allocations: 9.188 kB / 0.9524 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.242e-06/0.5549, allocations: 0 / 0.9524 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-06/0.5549, allocations: 1 kB / 0.9524 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.5549, allocations: 0 / 0.9524 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.708e-06/0.5549, allocations: 76.91 kB / 0.9524 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5549, allocations: 0 / 0.9524 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001859/0.5551, allocations: 13.69 kB / 0.9524 GB, free: 5.648 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 (1): * Single equations (assignments): 1 * 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.0002553/0.5554, allocations: 0.6196 MB / 0.953 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.041e-05/0.5554, allocations: 4.469 kB / 0.9531 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5554, allocations: 0 / 0.9531 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.832e-06/0.5554, allocations: 1.438 kB / 0.9531 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.5556, allocations: 13.41 kB / 0.9531 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.5558, allocations: 113.8 kB / 0.9532 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.683e-05/0.5559, allocations: 0.6741 MB / 0.9538 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.888e-06/0.5559, allocations: 1.188 kB / 0.9538 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.088e-05/0.5559, allocations: 8.531 kB / 0.9538 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5559, allocations: 0 / 0.9538 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009107/0.565, allocations: 1.019 MB / 0.9548 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000118/0.5652, allocations: 200.7 kB / 0.955 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.122, allocations: 0 / 0.955 GB, free: 3.383 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches