Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) 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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_11_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.001309/0.001309, allocations: 112.5 kB / 15.73 MB, free: 76 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.001284/0.001284, allocations: 191.4 kB / 16.66 MB, free: 6.582 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.854/2.854, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 71.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2731, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001657/0.2748, allocations: 0.5798 MB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004424/0.2752, allocations: 185.2 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.424e-05/0.2752, allocations: 0 / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.2753, allocations: 7.938 kB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.571e-06/0.2753, allocations: 0 / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.2756, allocations: 55.88 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.498e-05/0.2757, allocations: 0 / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.195e-05/0.2757, allocations: 0 / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.908e-06/0.2757, allocations: 3.938 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.895e-05/0.2757, allocations: 4 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.66e-06/0.2757, allocations: 0 / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.2759, allocations: 55.94 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.166e-06/0.2759, allocations: 3.938 kB / 1.221 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.129e-05/0.2759, allocations: 0 / 1.221 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.276, allocations: 35.94 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2761, allocations: 0 / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.979e-06/0.2761, allocations: 4 kB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.2761, allocations: 0 / 1.221 GB, free: 13.33 MB / 0.9825 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.0003165/0.2764, allocations: 331.3 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.2764, allocations: 8.031 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.078e-05/0.2765, allocations: 30.75 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.705e-05/0.2765, allocations: 4.938 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.2766, allocations: 164.3 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.2766, allocations: 4.359 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.2766, allocations: 8.359 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.52e-05/0.2767, allocations: 26.27 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2767, allocations: 3.938 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-06/0.2767, allocations: 4 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2768, allocations: 0 / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.484e-05/0.2768, allocations: 0 / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.2769, allocations: 149.6 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.854e-05/0.277, allocations: 22.61 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.277, allocations: 4.859 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007062/0.2777, allocations: 457.5 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.2777, allocations: 30.56 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.2777, allocations: 4 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001169/0.2779, allocations: 41.56 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.2779, allocations: 51.41 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.579e-05/0.278, allocations: 89.86 kB / 1.222 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.278, allocations: 29.64 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.278, allocations: 84.14 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.278, allocations: 4 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.2781, allocations: 9.719 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.2782, allocations: 315 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.2782, allocations: 4 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.509e-06/0.2782, allocations: 0 / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.339e-05/0.2783, allocations: 4.859 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2783, allocations: 4 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.467e-05/0.2783, allocations: 41.62 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.2784, allocations: 4 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2784, allocations: 3.938 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.2784, allocations: 4.094 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.15e-05/0.2784, allocations: 4 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.2784, allocations: 0 / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-06/0.2784, allocations: 0 / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.2784, allocations: 0 / 1.223 GB, free: 11.1 MB / 0.9825 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 6.493e-05/0.2785, allocations: 105.8 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-06/0.2785, allocations: 4 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.203e-05/0.2786, allocations: 40.75 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2786, allocations: 0 / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2786, allocations: 4.031 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2786, allocations: 7.938 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.2787, allocations: 149.7 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2787, allocations: 0 / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.426e-05/0.2788, allocations: 7.938 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2788, allocations: 0 / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.2788, allocations: 3.938 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.2788, allocations: 0 / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2788, allocations: 0 / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.134e-05/0.2789, allocations: 61.14 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.2789, allocations: 81.09 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.2789, allocations: 3.938 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-06/0.2789, allocations: 0 / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-06/0.279, allocations: 0 / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.279, allocations: 4 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.194e-05/0.279, allocations: 79.22 kB / 1.223 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.279, allocations: 0 / 1.223 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001947/0.2792, allocations: 15.97 kB / 1.224 GB, free: 10.44 MB / 0.9825 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.0004608/0.2797, allocations: 0.6129 MB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.509e-05/0.2797, allocations: 12.02 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2797, allocations: 0 / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.924e-06/0.2798, allocations: 3.938 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.2799, allocations: 1.719 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.2802, allocations: 118.4 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.2805, allocations: 0.6729 MB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.338e-06/0.2805, allocations: 0 / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.363e-05/0.2805, allocations: 7.438 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2805, allocations: 4.125 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.3003, allocations: 1.151 MB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/7.565, allocations: 13.53 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.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_Functions_Examples_BesselJ0.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches