Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.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.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.0008876/0.0008876, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005298/0.005298, allocations: 169.9 kB / 16.27 MB, free: 6.66 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.256/1.256, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.148/2.148, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003066, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.551/0.5514, allocations: 142.4 MB / 0.9552 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006421/0.552, allocations: 313 kB / 0.9555 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004265/0.5525, allocations: 193.7 kB / 0.9557 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-06/0.5525, allocations: 5.156 kB / 0.9557 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.086e-05/0.5525, allocations: 0 / 0.9557 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.947e-06/0.5525, allocations: 0 / 0.9557 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.5528, allocations: 39.12 kB / 0.9557 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.747e-05/0.5529, allocations: 1 kB / 0.9557 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.5529, allocations: 0.9062 kB / 0.9557 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.123e-05/0.5529, allocations: 1 kB / 0.9557 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.753e-05/0.553, allocations: 1.188 kB / 0.9557 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.951e-06/0.553, allocations: 0 / 0.9557 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.5531, allocations: 68.58 kB / 0.9558 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.162e-06/0.5531, allocations: 4 kB / 0.9558 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.5532, allocations: 26.8 kB / 0.9558 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.572e-05/0.5533, allocations: 36.41 kB / 0.9558 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5533, allocations: 0 / 0.9558 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5533, allocations: 1.25 kB / 0.9558 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.5533, allocations: 3.938 kB / 0.9558 GB, free: 7.254 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.0001748/0.5535, allocations: 320.2 kB / 0.9561 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.5535, allocations: 9.188 kB / 0.9562 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.48e-05/0.5536, allocations: 30.75 kB / 0.9562 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.729e-05/0.5536, allocations: 6 kB / 0.9562 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.406e-05/0.5536, allocations: 164.3 kB / 0.9564 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.5536, allocations: 384 / 0.9564 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-06/0.5537, allocations: 1.562 kB / 0.9564 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.769e-05/0.5537, allocations: 28.7 kB / 0.9564 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.5537, allocations: 3.938 kB / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.5537, allocations: 3.984 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.5538, allocations: 0 / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.54e-05/0.5538, allocations: 10.05 kB / 0.9564 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.165e-05/0.5539, allocations: 150.8 kB / 0.9565 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.671e-05/0.5539, allocations: 20.83 kB / 0.9566 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.194e-05/0.5539, allocations: 5.891 kB / 0.9566 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005387/0.5545, allocations: 456.2 kB / 0.957 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.24e-05/0.5545, allocations: 35.59 kB / 0.957 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.5545, allocations: 0 / 0.957 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001062/0.5546, allocations: 34.17 kB / 0.9571 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.571e-05/0.5546, allocations: 52.47 kB / 0.9571 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.457e-05/0.5546, allocations: 89.86 kB / 0.9572 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.5546, allocations: 26.92 kB / 0.9572 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.077e-06/0.5547, allocations: 84.08 kB / 0.9573 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.5547, allocations: 8.016 kB / 0.9573 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/0.5547, allocations: 18.97 kB / 0.9573 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.768e-05/0.5548, allocations: 310.8 kB / 0.9576 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-06/0.5548, allocations: 1.062 kB / 0.9576 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.5548, allocations: 1.094 kB / 0.9576 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.048e-05/0.5548, allocations: 8.172 kB / 0.9576 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5548, allocations: 0 / 0.9576 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.596e-05/0.5549, allocations: 30.64 kB / 0.9577 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.5549, allocations: 10.34 kB / 0.9577 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.5549, allocations: 3.938 kB / 0.9577 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.5549, allocations: 0.9688 kB / 0.9577 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.358e-05/0.5549, allocations: 13.77 kB / 0.9577 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.5549, allocations: 0 / 0.9577 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-06/0.555, allocations: 0 / 0.9577 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.555, allocations: 1.062 kB / 0.9577 GB, free: 5.121 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.715e-05/0.555, allocations: 111.2 kB / 0.9578 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-06/0.555, allocations: 1.281 kB / 0.9578 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.305e-05/0.5551, allocations: 44.16 kB / 0.9578 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5551, allocations: 1.219 kB / 0.9578 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5551, allocations: 0 / 0.9578 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.5551, allocations: 4 kB / 0.9579 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.68e-05/0.5552, allocations: 142.9 kB / 0.958 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5552, allocations: 1.125 kB / 0.958 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.141e-05/0.5552, allocations: 5.094 kB / 0.958 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5552, allocations: 0 / 0.958 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.5552, allocations: 5.188 kB / 0.958 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5552, allocations: 0 / 0.958 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5552, allocations: 13.23 kB / 0.958 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.243e-05/0.5553, allocations: 50.86 kB / 0.9581 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.5553, allocations: 77.11 kB / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-06/0.5553, allocations: 8.906 kB / 0.9581 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-06/0.5553, allocations: 0 / 0.9581 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.5553, allocations: 5.172 kB / 0.9581 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-06/0.5553, allocations: 0 / 0.9581 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.088e-05/0.5553, allocations: 84.78 kB / 0.9582 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5553, allocations: 0 / 0.9582 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002177/0.5556, allocations: 10.72 kB / 0.9582 GB, free: 4.496 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.0002609/0.5558, allocations: 0.6181 MB / 0.9588 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.553e-05/0.5559, allocations: 4.469 kB / 0.9588 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.5559, allocations: 0 / 0.9588 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.35e-06/0.5559, allocations: 1.469 kB / 0.9588 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.556, allocations: 2.453 kB / 0.9589 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001938/0.5562, allocations: 109.9 kB / 0.959 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.241e-05/0.5563, allocations: 0.6746 MB / 0.9596 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.147e-06/0.5563, allocations: 8 kB / 0.9596 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.668e-06/0.5563, allocations: 7.438 kB / 0.9596 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5563, allocations: 5.219 kB / 0.9596 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009962/0.5663, allocations: 0.9548 MB / 0.9606 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001371/0.5664, allocations: 199.6 kB / 0.9608 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/2.065, allocations: 9.312 kB / 0.9608 GB, free: 2.312 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches