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.007793/0.007793, allocations: 102.1 kB / 15.73 MB, free: 6.043 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.001762/0.001762, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.345/2.345, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 60.22 kB / 0.9504 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2468, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002472/0.2493, allocations: 1.423 MB / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005036/0.2498, allocations: 240.1 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.2499, allocations: 4 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.2499, allocations: 3.938 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.967e-05/0.25, allocations: 3.938 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.2503, allocations: 55.81 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.385e-05/0.2504, allocations: 27.92 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.248e-05/0.2505, allocations: 4 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.2505, allocations: 11.98 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.896e-05/0.2506, allocations: 15.92 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.2506, allocations: 3.984 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.2507, allocations: 55.89 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.2508, allocations: 4 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.2508, allocations: 15.92 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.2509, allocations: 51.86 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2509, allocations: 4 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.282e-06/0.251, allocations: 0 / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.251, allocations: 0 / 1.089 GB, free: 64 kB / 0.8419 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.000438/0.2514, allocations: 338.4 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2515, allocations: 12.03 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.937e-05/0.2515, allocations: 30.75 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.2515, allocations: 4.844 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.2516, allocations: 164.4 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2517, allocations: 8.375 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.2517, allocations: 8.359 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.2519, allocations: 54.17 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2519, allocations: 3.938 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.2519, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2519, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.2521, allocations: 31.97 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.2524, allocations: 249 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.2525, allocations: 46.38 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.615e-05/0.2526, allocations: 16.91 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006353/0.2532, allocations: 461.5 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.2533, allocations: 30.56 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.2533, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003705/0.2537, allocations: 85.55 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.2537, allocations: 51.41 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.368e-05/0.2538, allocations: 105.9 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2538, allocations: 25.7 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.2538, allocations: 88.12 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.2539, allocations: 4.75 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.2539, allocations: 17.72 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.254, allocations: 310.8 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.2541, allocations: 15.92 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.575e-05/0.2542, allocations: 23.97 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.2543, allocations: 40.83 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2544, allocations: 3.938 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000192/0.2546, allocations: 65.66 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2546, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2546, allocations: 4.094 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.2546, allocations: 3.938 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.2547, allocations: 11.98 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2547, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.2548, allocations: 7.938 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.2548, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 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 7.456e-05/0.2548, allocations: 123.7 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.2549, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.2551, allocations: 68.78 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2551, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2551, allocations: 4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2551, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.2553, allocations: 161.6 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2553, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.2554, allocations: 11.92 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.2554, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.2554, allocations: 8.031 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2554, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2554, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.2556, allocations: 159.5 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.2557, allocations: 81.02 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2557, allocations: 3.984 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.2558, allocations: 12.03 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.2558, allocations: 8.109 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.2558, allocations: 4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.2559, allocations: 79.27 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2559, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002426/0.2561, allocations: 20 kB / 1.092 GB, free: 12.63 MB / 0.8575 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.0005616/0.2567, allocations: 0.7215 MB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.2569, allocations: 39.94 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.2569, allocations: 4 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.734e-05/0.257, allocations: 19.97 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.2573, allocations: 9.344 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.2577, allocations: 139.3 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.2579, allocations: 0.6768 MB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.565e-05/0.258, allocations: 12.12 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.258, allocations: 7.438 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.258, allocations: 0 / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.2747, allocations: 1.497 MB / 1.095 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.396/7.67, allocations: 6.328 kB / 1.095 GB, free: 9.48 MB / 0.8575 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