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.005849/0.005849, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001258/0.001258, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.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.506/2.506, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 64.05 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8052, allocations: 151.6 MB / 1.166 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002414/0.8076, allocations: 1.424 MB / 1.168 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005334/0.8082, allocations: 254.5 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.8082, allocations: 0 / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.8083, allocations: 0 / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.325e-05/0.8083, allocations: 7.938 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.8087, allocations: 57.69 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.895e-05/0.8087, allocations: 19.98 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.219e-05/0.8088, allocations: 4 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.37e-05/0.8089, allocations: 19.92 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.882e-05/0.8089, allocations: 11.98 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.8089, allocations: 0 / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.8091, allocations: 63.81 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.8091, allocations: 4 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.8091, allocations: 15.92 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.8093, allocations: 47.92 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8093, allocations: 0 / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8093, allocations: 0 / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8093, allocations: 0 / 1.168 GB, free: 1.98 MB / 0.8887 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.0004269/0.8097, allocations: 345.7 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.8098, allocations: 8.922 kB / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/0.8098, allocations: 38.69 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.8098, allocations: 4.938 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.81, allocations: 168.3 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.81, allocations: 12.31 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.81, allocations: 384 / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.8102, allocations: 50.23 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.8102, allocations: 11.92 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.8102, allocations: 0 / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8102, allocations: 0 / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.8104, allocations: 31.97 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.8107, allocations: 252.8 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.8108, allocations: 42.5 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.949e-05/0.8109, allocations: 16.91 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006498/0.8115, allocations: 461.4 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.8116, allocations: 34.56 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8116, allocations: 0 / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003335/0.8119, allocations: 85.58 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.812, allocations: 51.41 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.812, allocations: 97.86 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.8121, allocations: 25.7 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.8121, allocations: 88.25 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.8122, allocations: 7.906 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.8122, allocations: 13.72 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.8123, allocations: 314.8 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.008e-05/0.8124, allocations: 11.98 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.8125, allocations: 19.97 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.8126, allocations: 40.89 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8126, allocations: 3.938 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001847/0.8128, allocations: 69.59 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.8129, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.8129, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.8129, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.074e-05/0.813, allocations: 11.98 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.813, allocations: 4.031 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.813, allocations: 4 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.8131, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 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.769e-05/0.8131, allocations: 117.8 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.8132, allocations: 4 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.8134, allocations: 72.66 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8134, allocations: 4.031 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8134, allocations: 0 / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8134, allocations: 4 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.8136, allocations: 157.6 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8136, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/0.8136, allocations: 11.98 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.8137, allocations: 3.938 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.8137, allocations: 4 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8137, allocations: 4 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.8137, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.8139, allocations: 167.4 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.814, allocations: 77.11 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.814, allocations: 3.984 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.8141, allocations: 11.94 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.8141, allocations: 0 / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.8141, allocations: 32 / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.8141, allocations: 87.27 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8141, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003663/0.8145, allocations: 20 kB / 1.171 GB, free: 14.53 MB / 0.9044 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.0005861/0.8151, allocations: 0.7128 MB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.8153, allocations: 39.91 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8153, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.698e-05/0.8154, allocations: 28.03 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.8157, allocations: 4 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.8161, allocations: 139 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.8163, allocations: 0.6768 MB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.8164, allocations: 4 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.8164, allocations: 7.438 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.8164, allocations: 0 / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.8357, allocations: 1.508 MB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/8.654, allocations: 7.969 kB / 1.174 GB, free: 11.38 MB / 0.9044 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