Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.008551/0.008551, allocations: 101.4 kB / 15.73 MB, free: 6.023 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.002042/0.002042, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.801/2.801, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 72.11 kB / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2857, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001685/0.2875, allocations: 0.5813 MB / 1.208 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004871/0.288, allocations: 191.4 kB / 1.208 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.413e-05/0.288, allocations: 4 kB / 1.208 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.288, allocations: 0 / 1.208 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-06/0.2881, allocations: 0 / 1.208 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.2884, allocations: 47.83 kB / 1.208 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.003e-05/0.2885, allocations: 4 kB / 1.208 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.2885, allocations: 3.984 kB / 1.208 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.261e-05/0.2886, allocations: 0 / 1.208 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.686e-05/0.2886, allocations: 0 / 1.208 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.763e-06/0.2886, allocations: 0 / 1.208 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.2888, allocations: 59.89 kB / 1.208 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.2888, allocations: 11.92 kB / 1.208 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.2888, allocations: 3.938 kB / 1.208 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.2889, allocations: 35.95 kB / 1.208 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2889, allocations: 0 / 1.208 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2889, allocations: 0 / 1.208 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.289, allocations: 0 / 1.208 GB, free: 9.188 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002941/0.2893, allocations: 319.6 kB / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2893, allocations: 8.625 kB / 1.209 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.2893, allocations: 30.75 kB / 1.209 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.976e-05/0.2894, allocations: 0.9375 kB / 1.209 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.694e-05/0.2895, allocations: 168.3 kB / 1.209 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-06/0.2895, allocations: 384 / 1.209 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.2895, allocations: 4.375 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.462e-05/0.2896, allocations: 34.25 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2896, allocations: 3.938 kB / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.2896, allocations: 0 / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2896, allocations: 0 / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.2896, allocations: 4 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.2898, allocations: 141.7 kB / 1.209 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.448e-05/0.2898, allocations: 22.52 kB / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.2898, allocations: 12.95 kB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007099/0.2905, allocations: 449.5 kB / 1.209 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.2906, allocations: 38.56 kB / 1.209 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2906, allocations: 0 / 1.209 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001162/0.2907, allocations: 37.64 kB / 1.209 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.2908, allocations: 51.41 kB / 1.209 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.12e-05/0.2908, allocations: 93.8 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.2908, allocations: 25.7 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.2908, allocations: 92.05 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.2909, allocations: 3.906 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.2909, allocations: 17.84 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.291, allocations: 310.8 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-06/0.291, allocations: 0 / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-06/0.291, allocations: 4 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.436e-05/0.2911, allocations: 8.859 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2911, allocations: 0 / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.958e-05/0.2911, allocations: 33.7 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2912, allocations: 7.984 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2912, allocations: 8.031 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2912, allocations: 0 / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.764e-05/0.2912, allocations: 3.938 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.2912, allocations: 4 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.047e-05/0.2913, allocations: 0 / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.2913, allocations: 3.938 kB / 1.21 GB, free: 6.957 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 (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 5.817e-05/0.2913, allocations: 105.8 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.2913, allocations: 0 / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.518e-05/0.2914, allocations: 52.73 kB / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2914, allocations: 4 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2914, allocations: 4 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.2915, allocations: 0 / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.187e-05/0.2915, allocations: 141.7 kB / 1.21 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2916, allocations: 0 / 1.21 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.304e-05/0.2916, allocations: 0 / 1.21 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2916, allocations: 7.984 kB / 1.21 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.2916, allocations: 3.938 kB / 1.21 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2916, allocations: 0 / 1.21 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2916, allocations: 3.938 kB / 1.21 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.657e-05/0.2917, allocations: 57.17 kB / 1.21 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.2917, allocations: 81.11 kB / 1.211 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.2917, allocations: 3.938 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-06/0.2917, allocations: 3.984 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.2918, allocations: 0 / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.2918, allocations: 3.938 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.396e-05/0.2918, allocations: 75.28 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2918, allocations: 4.031 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002116/0.292, allocations: 16 kB / 1.211 GB, free: 6.301 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 (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.000431/0.2925, allocations: 0.6127 MB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.412e-05/0.2925, allocations: 4 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2925, allocations: 4 kB / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.468e-06/0.2926, allocations: 7.984 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.2927, allocations: 1.375 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.293, allocations: 110.6 kB / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.2932, allocations: 0.6729 MB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.378e-05/0.2933, allocations: 8.109 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.338e-05/0.2933, allocations: 11.38 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.2933, allocations: 0 / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.3099, allocations: 1.151 MB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/7.916, allocations: 14.03 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches