Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_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.005935/0.005935, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.001315/0.001315, allocations: 194 kB / 16.67 MB, free: 6.379 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.432/1.432, 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 11.0.1-master/package.mo): time 2.828/2.828, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001443, allocations: 68.06 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3003, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002548/0.3029, allocations: 1.441 MB / 1.209 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005242/0.3034, allocations: 243.3 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.3035, allocations: 0 / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.3035, allocations: 7.938 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.872e-05/0.3036, allocations: 4 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.3039, allocations: 59.75 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.088e-05/0.304, allocations: 23.92 kB / 1.209 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.3041, allocations: 8 kB / 1.209 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.3041, allocations: 7.984 kB / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.635e-05/0.3042, allocations: 11.94 kB / 1.209 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.3042, allocations: 0 / 1.209 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3044, allocations: 71.86 kB / 1.209 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.3044, allocations: 8 kB / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.3044, allocations: 7.922 kB / 1.209 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.3045, allocations: 51.86 kB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3046, allocations: 0 / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3046, allocations: 0 / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3046, allocations: 7.938 kB / 1.209 GB, free: 8.164 MB / 0.9669 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.000415/0.305, allocations: 347.7 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.305, allocations: 8.625 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.3051, allocations: 34.75 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.249e-05/0.3051, allocations: 0.9375 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3052, allocations: 168.4 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3052, allocations: 4.312 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-06/0.3052, allocations: 384 / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3054, allocations: 50.23 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3054, allocations: 3.938 kB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.3054, allocations: 0 / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3055, allocations: 3.984 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.3056, allocations: 35.97 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.3059, allocations: 252.9 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.3061, allocations: 38.44 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.02e-05/0.3062, allocations: 28.91 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006538/0.3068, allocations: 461.5 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3069, allocations: 30.56 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3069, allocations: 0 / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003675/0.3072, allocations: 85.64 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.3073, allocations: 55.34 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.3074, allocations: 97.84 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.3074, allocations: 29.7 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.3074, allocations: 84.14 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.3074, allocations: 3.906 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.3075, allocations: 13.84 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.3076, allocations: 322.8 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.569e-05/0.3077, allocations: 11.98 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.3078, allocations: 19.98 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.3079, allocations: 40.75 kB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3079, allocations: 8 kB / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002001/0.3081, allocations: 65.61 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3082, allocations: 5.719 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3082, allocations: 0 / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.3082, allocations: 0 / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.3083, allocations: 15.98 kB / 1.211 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3083, allocations: 0 / 1.211 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.3083, allocations: 7.984 kB / 1.211 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3084, allocations: 4.031 kB / 1.211 GB, free: 5.547 MB / 0.9669 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.671e-05/0.3084, allocations: 117.8 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3085, allocations: 0 / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.3087, allocations: 68.69 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3087, allocations: 7.938 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3087, allocations: 0 / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3087, allocations: 0 / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.3089, allocations: 169.6 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3089, allocations: 3.938 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.129e-05/0.3089, allocations: 7.984 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3089, allocations: 4 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.309, allocations: 0 / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.309, allocations: 0 / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.309, allocations: 0 / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.3092, allocations: 167.5 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.3092, allocations: 77.11 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.3093, allocations: 0 / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/0.3094, allocations: 7.984 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.3094, allocations: 0 / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.3094, allocations: 4 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.299e-05/0.3094, allocations: 83.28 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3094, allocations: 0 / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002446/0.3097, allocations: 20.03 kB / 1.212 GB, free: 4.727 MB / 0.9669 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.0005592/0.3103, allocations: 0.7124 MB / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.3105, allocations: 35.95 kB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3105, allocations: 4 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/0.3106, allocations: 23.86 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.3108, allocations: 4 kB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.3113, allocations: 147.2 kB / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.3115, allocations: 0.6768 MB / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.127e-05/0.3115, allocations: 4 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.3115, allocations: 11.44 kB / 1.214 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of SimCode: time 3.5e-07/0.3116, allocations: 0 / 1.214 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.3286, allocations: 1.523 MB / 1.215 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/7.797, allocations: 1.203 kB / 1.215 GB, free: 1.562 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches