Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.BesselJ0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_10_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.001883/0.001883, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001991/0.001992, allocations: 191.3 kB / 16.25 MB, free: 6.645 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.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.482/2.482, allocations: 437 MB / 0.7101 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 67.89 kB / 0.8689 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7427/0.7442, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002571/0.7468, allocations: 1.501 MB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004869/0.7473, allocations: 248.1 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.7473, allocations: 3.938 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/0.7474, allocations: 3.984 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.842e-05/0.7474, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.7478, allocations: 51.89 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.554e-05/0.7479, allocations: 23.86 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.452e-05/0.748, allocations: 8 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.408e-05/0.748, allocations: 0 / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.7481, allocations: 15.92 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.7481, allocations: 8 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.7482, allocations: 63.88 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.979e-06/0.7482, allocations: 0 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.7483, allocations: 19.92 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.7484, allocations: 47.92 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7484, allocations: 0 / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7484, allocations: 3.938 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.7484, allocations: 3.938 kB / 1.019 GB, free: 0.7188 MB / 0.7637 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.0004274/0.7489, allocations: 345.7 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.7489, allocations: 16.03 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.749, allocations: 34.75 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.749, allocations: 0.9375 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.966e-05/0.7491, allocations: 164.3 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.7491, allocations: 4.375 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.7491, allocations: 384 / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.7493, allocations: 54.23 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.7493, allocations: 3.938 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.7493, allocations: 0 / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.7493, allocations: 4 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.7495, allocations: 39.89 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.7498, allocations: 252.9 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.7499, allocations: 42.53 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.75, allocations: 20.91 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006217/0.7506, allocations: 461.4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.7507, allocations: 30.56 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.7507, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003248/0.751, allocations: 85.59 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.7511, allocations: 55.39 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.587e-05/0.7511, allocations: 93.86 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.7512, allocations: 25.7 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.7512, allocations: 88.14 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.7512, allocations: 3.906 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.7513, allocations: 17.83 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.7514, allocations: 318.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.759e-05/0.7515, allocations: 15.92 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.7515, allocations: 15.98 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.7517, allocations: 48.81 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7517, allocations: 3.938 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001869/0.7519, allocations: 61.67 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.7519, allocations: 7.984 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.7519, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.7519, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.752, allocations: 11.94 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.752, allocations: 3.984 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.7521, allocations: 15.92 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.7521, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 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 6.814e-05/0.7522, allocations: 114.3 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.7522, allocations: 4 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.7524, allocations: 72.7 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.7524, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.7525, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.7525, allocations: 8.031 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.7526, allocations: 157.6 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.7526, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.7527, allocations: 7.984 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7527, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.7527, allocations: 8 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7527, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.7527, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.753, allocations: 171.4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.753, allocations: 77.11 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.753, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.7531, allocations: 7.984 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.7532, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.7532, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.7532, allocations: 83.27 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7532, allocations: 4.031 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002372/0.7535, allocations: 20 kB / 1.022 GB, free: 13.27 MB / 0.7794 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.0005815/0.754, allocations: 0.7085 MB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.7543, allocations: 39.89 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7543, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.717e-05/0.7544, allocations: 19.98 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.7546, allocations: 9.625 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.755, allocations: 139.3 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.7553, allocations: 0.6729 MB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.422e-05/0.7553, allocations: 3.984 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.7553, allocations: 15.38 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7553, allocations: 0 / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.7664, allocations: 1.34 MB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.7666, allocations: 193.8 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.485, allocations: 3.938 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches