Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_10_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.00678/0.00678, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.00174/0.00174, allocations: 200.1 kB / 16.68 MB, free: 5.969 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.387/2.387, allocations: 437.1 MB / 0.7106 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 63.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2473, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001448/0.2488, allocations: 0.5883 MB / 1.167 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003979/0.2492, allocations: 187.7 kB / 1.167 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.01e-05/0.2492, allocations: 0 / 1.167 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.2492, allocations: 0 / 1.167 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.14e-06/0.2492, allocations: 4 kB / 1.167 GB, free: 6.484 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.2495, allocations: 47.84 kB / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.537e-05/0.2496, allocations: 11.98 kB / 1.167 GB, free: 6.426 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.068e-05/0.2496, allocations: 0 / 1.167 GB, free: 6.426 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.057e-05/0.2496, allocations: 0 / 1.167 GB, free: 6.426 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.625e-05/0.2497, allocations: 3.984 kB / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.149e-06/0.2497, allocations: 0 / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.2498, allocations: 55.89 kB / 1.167 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.39e-06/0.2498, allocations: 0 / 1.167 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.356e-05/0.2499, allocations: 4 kB / 1.167 GB, free: 6.363 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.883e-05/0.25, allocations: 36.16 kB / 1.167 GB, free: 6.328 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.25, allocations: 4 kB / 1.167 GB, free: 6.324 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.092e-06/0.25, allocations: 0 / 1.167 GB, free: 6.324 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.25, allocations: 0 / 1.167 GB, free: 6.324 MB / 0.92 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.000302/0.2503, allocations: 323.5 kB / 1.167 GB, free: 5.957 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2503, allocations: 8.031 kB / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.2504, allocations: 34.75 kB / 1.167 GB, free: 5.906 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.615e-05/0.2504, allocations: 0.9375 kB / 1.167 GB, free: 5.906 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.678e-05/0.2505, allocations: 160.4 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.2505, allocations: 384 / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-06/0.2505, allocations: 8.375 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.972e-05/0.2506, allocations: 30.2 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2506, allocations: 3.938 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-06/0.2506, allocations: 0 / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.2506, allocations: 0 / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.769e-05/0.2506, allocations: 11.92 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.2508, allocations: 145.7 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.202e-05/0.2508, allocations: 14.58 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.443e-05/0.2508, allocations: 12.95 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006753/0.2515, allocations: 449.5 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.2516, allocations: 42.5 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2516, allocations: 0 / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001027/0.2517, allocations: 41.59 kB / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.2517, allocations: 51.41 kB / 1.168 GB, free: 4.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.2518, allocations: 89.86 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.2518, allocations: 25.7 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.2519, allocations: 80.14 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.2519, allocations: 0 / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.2519, allocations: 17.7 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.252, allocations: 314.8 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-06/0.2521, allocations: 4.125 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-06/0.2521, allocations: 0 / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.2521, allocations: 12.8 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2521, allocations: 0 / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.534e-05/0.2522, allocations: 29.7 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.2522, allocations: 8 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2522, allocations: 3.938 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.2522, allocations: 3.984 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.016e-05/0.2522, allocations: 4.094 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2522, allocations: 7.938 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-06/0.2523, allocations: 0 / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.2523, allocations: 0 / 1.169 GB, free: 4.098 MB / 0.92 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.818e-05/0.2523, allocations: 109.8 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-06/0.2523, allocations: 0 / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.965e-05/0.2524, allocations: 44.69 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2524, allocations: 3.984 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2524, allocations: 4 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.2525, allocations: 4.031 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.25e-05/0.2525, allocations: 141.7 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2526, allocations: 4 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-06/0.2526, allocations: 0 / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.2526, allocations: 4 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.2526, allocations: 3.938 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2526, allocations: 0 / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2526, allocations: 3.984 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.125e-05/0.2527, allocations: 61.08 kB / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.2527, allocations: 81.11 kB / 1.169 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.2527, allocations: 7.875 kB / 1.169 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-06/0.2527, allocations: 0 / 1.169 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-06/0.2528, allocations: 3.984 kB / 1.169 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.2528, allocations: 0 / 1.169 GB, free: 3.527 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.844e-05/0.2528, allocations: 75.28 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.2528, allocations: 0 / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001812/0.253, allocations: 19.94 kB / 1.17 GB, free: 3.434 MB / 0.92 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.0004171/0.2534, allocations: 0.6163 MB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 4.989e-05/0.2535, allocations: 11.97 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.2535, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.943e-06/0.2535, allocations: 4 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.2536, allocations: 0 / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.2538, allocations: 110.6 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.2541, allocations: 0.6729 MB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.735e-06/0.2541, allocations: 0 / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.357e-05/0.2541, allocations: 7.438 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.2541, allocations: 4.062 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9814/1.236, allocations: 1.152 MB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/11.43, allocations: 7.578 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches