Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_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.004988/0.004988, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001483/0.001483, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.223/1.223, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.241/2.241, allocations: 437.1 MB / 0.7105 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 71.77 kB / 1.018 GB, free: 9.812 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7493/0.7513, allocations: 151.6 MB / 1.166 GB, free: 3.688 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001542/0.7529, allocations: 0.5805 MB / 1.167 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004234/0.7533, allocations: 201.2 kB / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.204e-05/0.7533, allocations: 4 kB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.7533, allocations: 0 / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.899e-06/0.7534, allocations: 0 / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.7537, allocations: 51.83 kB / 1.167 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 2.888e-05/0.7537, allocations: 4 kB / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.24e-05/0.7538, allocations: 4 kB / 1.167 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.084e-05/0.7538, allocations: 0 / 1.167 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.688e-05/0.7538, allocations: 3.984 kB / 1.167 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.624e-06/0.7538, allocations: 0 / 1.167 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.754, allocations: 63.88 kB / 1.167 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.754, allocations: 3.938 kB / 1.167 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.146e-05/0.754, allocations: 0 / 1.167 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.7541, allocations: 35.94 kB / 1.167 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.7541, allocations: 0 / 1.167 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7541, allocations: 0 / 1.167 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.7541, allocations: 4 kB / 1.167 GB, free: 2.742 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002954/0.7544, allocations: 327.2 kB / 1.167 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.7545, allocations: 8.922 kB / 1.167 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.7545, allocations: 34.69 kB / 1.167 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.671e-05/0.7545, allocations: 0.9375 kB / 1.168 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.7546, allocations: 164.4 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.7547, allocations: 384 / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-06/0.7547, allocations: 384 / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.617e-05/0.7547, allocations: 34.27 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.7548, allocations: 7.875 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-06/0.7548, allocations: 0 / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.7548, allocations: 7.984 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.481e-05/0.7548, allocations: 0 / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.7549, allocations: 141.7 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.637e-05/0.755, allocations: 22.55 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.755, allocations: 11.33 kB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007197/0.7557, allocations: 457.5 kB / 1.168 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.7558, allocations: 38.56 kB / 1.168 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.7558, allocations: 0 / 1.168 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001194/0.7559, allocations: 49.52 kB / 1.168 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.7559, allocations: 55.53 kB / 1.168 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.584e-05/0.756, allocations: 89.86 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.756, allocations: 29.64 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.756, allocations: 80.14 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.7561, allocations: 0 / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.7561, allocations: 13.72 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.7562, allocations: 310.8 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-06/0.7562, allocations: 0 / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.311e-06/0.7562, allocations: 8 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.354e-05/0.7563, allocations: 8.859 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.7563, allocations: 0 / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.944e-05/0.7563, allocations: 37.62 kB / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.7563, allocations: 8 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7564, allocations: 3.938 kB / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.7564, allocations: 0 / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.927e-05/0.7564, allocations: 0 / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.7564, allocations: 4 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-06/0.7564, allocations: 4.094 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.7564, allocations: 0 / 1.169 GB, free: 0.5039 MB / 0.8887 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.358e-05/0.7565, allocations: 105.8 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-06/0.7565, allocations: 0 / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.073e-05/0.7566, allocations: 44.75 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.7566, allocations: 0 / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.7566, allocations: 4 kB / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.7566, allocations: 0 / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.442e-05/0.7567, allocations: 149.7 kB / 1.169 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7567, allocations: 0 / 1.169 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-06/0.7567, allocations: 3.938 kB / 1.169 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.7567, allocations: 4 kB / 1.169 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.7568, allocations: 3.938 kB / 1.169 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7568, allocations: 0 / 1.169 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.7568, allocations: 3.938 kB / 1.169 GB, free: 124 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.315e-05/0.7568, allocations: 53.14 kB / 1.169 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.7569, allocations: 89.12 kB / 1.169 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.7569, allocations: 3.938 kB / 1.169 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-06/0.7569, allocations: 0 / 1.169 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.7569, allocations: 3.984 kB / 1.169 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.7569, allocations: 4 kB / 1.169 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.342e-05/0.757, allocations: 79.22 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.757, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001857/0.7572, allocations: 15.94 kB / 1.17 GB, free: 15.84 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 (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.0004226/0.7576, allocations: 0.6163 MB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 5.599e-05/0.7577, allocations: 8 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.7577, allocations: 4.094 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.324e-06/0.7577, allocations: 4 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.7578, allocations: 2.234 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.7581, allocations: 114.5 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.7583, allocations: 0.6768 MB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.225e-06/0.7583, allocations: 0 / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.394e-05/0.7584, allocations: 11.38 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.7584, allocations: 0 / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.66/2.419, allocations: 1.154 MB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.057/11.48, allocations: 5.328 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches