Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1",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.001079/0.001079, allocations: 108 kB / 15.6 MB, free: 132 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.0009771/0.0009772, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.459/2.459, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5903/0.5917, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002641/0.5943, allocations: 1.432 MB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005231/0.5949, allocations: 260 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.5949, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.595, allocations: 7.922 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.5951, allocations: 3.938 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.5954, allocations: 63.81 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.359e-05/0.5955, allocations: 15.94 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/0.5956, allocations: 15.98 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.5956, allocations: 4 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.855e-05/0.5957, allocations: 11.92 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.5957, allocations: 4 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.5959, allocations: 67.86 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.859e-06/0.5959, allocations: 0 / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.5959, allocations: 11.94 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.5961, allocations: 51.92 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5961, allocations: 7.922 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5961, allocations: 3.938 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.5961, allocations: 4 kB / 1.019 GB, free: 0.5078 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.0003909/0.5965, allocations: 341.7 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.5965, allocations: 8.031 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.973e-05/0.5966, allocations: 38.69 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.297e-05/0.5966, allocations: 0.9375 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.5967, allocations: 164.3 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.5967, allocations: 4.375 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.5968, allocations: 384 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.5969, allocations: 54.23 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.597, allocations: 3.938 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.597, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.597, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.5971, allocations: 35.95 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.5974, allocations: 248.9 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.5976, allocations: 46.48 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.537e-05/0.5977, allocations: 20.91 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006283/0.5983, allocations: 461.5 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.5983, allocations: 34.56 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5983, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003429/0.5987, allocations: 81.58 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.5987, allocations: 51.41 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.5988, allocations: 102.1 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.5988, allocations: 25.7 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.5988, allocations: 84.12 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.5989, allocations: 11.91 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.5989, allocations: 9.719 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.522e-05/0.599, allocations: 310.8 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.033e-05/0.5991, allocations: 19.98 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.5992, allocations: 19.97 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.5993, allocations: 36.83 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5993, allocations: 3.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.5995, allocations: 73.59 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.5995, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.5995, allocations: 4.078 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5996, allocations: 7.984 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.5996, allocations: 11.98 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.5997, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.5997, allocations: 7.906 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.5997, allocations: 0 / 1.022 GB, free: 13.9 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.318e-05/0.5998, allocations: 113.8 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.5998, allocations: 4 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.6, allocations: 84.66 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.6, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6001, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.6001, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.6002, allocations: 157.6 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6002, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.768e-05/0.6003, allocations: 11.98 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.6003, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.6003, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6003, allocations: 4.031 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6003, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.6005, allocations: 163.5 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.6006, allocations: 81.11 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.6006, allocations: 3.984 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.6007, allocations: 8.031 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.6007, allocations: 3.938 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.6007, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.6008, allocations: 87.27 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6008, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002329/0.601, allocations: 20 kB / 1.022 GB, free: 13.07 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.0005417/0.6015, allocations: 0.7201 MB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.6018, allocations: 35.91 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6018, allocations: 4.094 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.652e-05/0.6019, allocations: 23.97 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.6021, allocations: 7.812 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.6025, allocations: 127.3 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.6027, allocations: 0.6806 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.6028, allocations: 4.062 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.6028, allocations: 15.44 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6028, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.6204, allocations: 1.481 MB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.326/7.947, allocations: 5.359 kB / 1.025 GB, free: 9.938 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches