Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_latest_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.007185/0.007185, allocations: 104.1 kB / 15.74 MB, free: 6.047 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.001621/0.001621, allocations: 188 kB / 16.67 MB, free: 5.969 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.613/2.613, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 67.91 kB / 1.054 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7661/0.7676, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002631/0.7703, allocations: 1.429 MB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005122/0.7708, allocations: 251.2 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.7709, allocations: 0 / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.7709, allocations: 3.938 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.992e-05/0.771, allocations: 0 / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.7713, allocations: 67.75 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.276e-05/0.7714, allocations: 19.92 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.7715, allocations: 8 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.024e-05/0.7716, allocations: 11.98 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.624e-05/0.7716, allocations: 7.938 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.7716, allocations: 4 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.7718, allocations: 63.88 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.7718, allocations: 3.984 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.7718, allocations: 11.92 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.7719, allocations: 51.86 kB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.772, allocations: 0 / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.772, allocations: 4 kB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.772, allocations: 0 / 1.209 GB, free: 11.63 MB / 0.9356 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.0004113/0.7724, allocations: 349.7 kB / 1.209 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.7724, allocations: 8.031 kB / 1.209 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.7725, allocations: 34.75 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/0.7725, allocations: 4.938 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.962e-05/0.7726, allocations: 160.4 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.7726, allocations: 8.297 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.7727, allocations: 4.375 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.7728, allocations: 50.25 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7729, allocations: 3.938 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.7729, allocations: 0 / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.7729, allocations: 7.984 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.7731, allocations: 27.97 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.7734, allocations: 244.9 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.7735, allocations: 50.42 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.876e-05/0.7736, allocations: 24.91 kB / 1.21 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006979/0.7743, allocations: 453.4 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.7744, allocations: 38.56 kB / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 2.735e-06/0.7744, allocations: 3.984 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003613/0.7747, allocations: 77.64 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.7748, allocations: 59.34 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.431e-05/0.7748, allocations: 97.86 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.7749, allocations: 25.83 kB / 1.211 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.7749, allocations: 88.12 kB / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.7749, allocations: 3.906 kB / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.775, allocations: 21.66 kB / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.7751, allocations: 310.8 kB / 1.211 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-05/0.7752, allocations: 19.98 kB / 1.211 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.573e-05/0.7752, allocations: 15.97 kB / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.7754, allocations: 44.83 kB / 1.211 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7754, allocations: 3.938 kB / 1.211 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002014/0.7756, allocations: 65.59 kB / 1.211 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.7756, allocations: 8 kB / 1.211 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.7757, allocations: 0 / 1.211 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.7757, allocations: 0 / 1.211 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.7758, allocations: 12.02 kB / 1.211 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.7758, allocations: 0 / 1.211 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.7758, allocations: 8 kB / 1.211 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.7758, allocations: 4 kB / 1.211 GB, free: 9.012 MB / 0.9356 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 7.214e-05/0.7759, allocations: 109.8 kB / 1.211 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.776, allocations: 3.984 kB / 1.211 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.7762, allocations: 76.78 kB / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.7762, allocations: 0 / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7762, allocations: 0 / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.7762, allocations: 0 / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.7764, allocations: 157.6 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.7764, allocations: 0 / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.664e-05/0.7765, allocations: 15.92 kB / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.7765, allocations: 0 / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.7765, allocations: 0 / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7765, allocations: 0 / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7765, allocations: 4.031 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.7767, allocations: 171.4 kB / 1.212 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.7768, allocations: 77.11 kB / 1.212 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.7768, allocations: 4 kB / 1.212 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.7769, allocations: 3.984 kB / 1.212 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.7769, allocations: 4.031 kB / 1.212 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.7769, allocations: 4 kB / 1.212 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.734e-05/0.777, allocations: 83.27 kB / 1.212 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.777, allocations: 0 / 1.212 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002429/0.7772, allocations: 16 kB / 1.212 GB, free: 8.195 MB / 0.9356 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.0005932/0.7778, allocations: 0.7163 MB / 1.213 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.7781, allocations: 35.97 kB / 1.213 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7781, allocations: 0 / 1.213 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.443e-05/0.7782, allocations: 27.95 kB / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.7784, allocations: 13.64 kB / 1.213 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.7788, allocations: 139 kB / 1.213 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.7791, allocations: 0.6768 MB / 1.214 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.441e-05/0.7791, allocations: 0 / 1.214 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.7792, allocations: 7.438 kB / 1.214 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.7792, allocations: 4.062 kB / 1.214 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.7969, allocations: 1.519 MB / 1.215 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/8.31, allocations: 11.94 kB / 1.215 GB, free: 5.027 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches