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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001108/0.001108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001125/0.001125, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.374/2.374, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 62.3 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2419, allocations: 157.4 MB / 1.052 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002251/0.2442, allocations: 1.495 MB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004608/0.2447, allocations: 263.3 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.2447, allocations: 0 / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.2447, allocations: 3.938 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.246e-05/0.2448, allocations: 0 / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.245, allocations: 55.88 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.142e-05/0.2451, allocations: 19.94 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.597e-05/0.2451, allocations: 8 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.043e-05/0.2452, allocations: 3.984 kB / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.125e-05/0.2452, allocations: 15.92 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.655e-06/0.2452, allocations: 0 / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.2454, allocations: 63.89 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.2454, allocations: 7.969 kB / 1.054 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.796e-05/0.2454, allocations: 7.938 kB / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.2455, allocations: 51.88 kB / 1.054 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2455, allocations: 4 kB / 1.054 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.61e-07/0.2455, allocations: 0 / 1.054 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.2455, allocations: 0 / 1.054 GB, free: 6.238 MB / 0.8106 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.0003756/0.2459, allocations: 347.8 kB / 1.054 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.246, allocations: 15.97 kB / 1.054 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.858e-05/0.246, allocations: 34.69 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.123e-05/0.246, allocations: 4.844 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.425e-05/0.2461, allocations: 164.4 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.2461, allocations: 8.375 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.2462, allocations: 4.312 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.2463, allocations: 50.23 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2463, allocations: 3.938 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.2463, allocations: 0 / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2463, allocations: 0 / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.2465, allocations: 39.94 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.2468, allocations: 252.9 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.2469, allocations: 42.48 kB / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.741e-05/0.247, allocations: 16.91 kB / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000616/0.2476, allocations: 465.5 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.2476, allocations: 30.56 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2476, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003205/0.248, allocations: 85.58 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.248, allocations: 55.53 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.2481, allocations: 93.86 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.2481, allocations: 25.7 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.2481, allocations: 91.98 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.2481, allocations: 7.984 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.2482, allocations: 9.719 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.2483, allocations: 318.8 kB / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.754e-05/0.2484, allocations: 15.98 kB / 1.056 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.007e-05/0.2484, allocations: 19.97 kB / 1.056 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.2486, allocations: 36.83 kB / 1.056 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/0.2486, allocations: 3.938 kB / 1.056 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001767/0.2488, allocations: 77.56 kB / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.2488, allocations: 4 kB / 1.056 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2488, allocations: 4 kB / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.2488, allocations: 0 / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.2489, allocations: 11.98 kB / 1.056 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2489, allocations: 0 / 1.056 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.2489, allocations: 4 kB / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.249, allocations: 3.984 kB / 1.056 GB, free: 3.609 MB / 0.8106 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.625e-05/0.249, allocations: 117.8 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.249, allocations: 4 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.2493, allocations: 72.7 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2493, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2493, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.2493, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.2494, allocations: 161.5 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2494, allocations: 4 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.538e-05/0.2495, allocations: 12.02 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2495, allocations: 0 / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.2495, allocations: 3.938 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2495, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2495, allocations: 4 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.2497, allocations: 159.5 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.2498, allocations: 89.05 kB / 1.057 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-06/0.2498, allocations: 0 / 1.057 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.2499, allocations: 7.984 kB / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.2499, allocations: 3.938 kB / 1.057 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.2499, allocations: 4 kB / 1.057 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.186e-05/0.25, allocations: 83.27 kB / 1.057 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.25, allocations: 3.938 kB / 1.057 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002176/0.2502, allocations: 16 kB / 1.057 GB, free: 2.781 MB / 0.8106 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.000545/0.2507, allocations: 0.7124 MB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.2509, allocations: 39.94 kB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.2509, allocations: 0 / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.962e-05/0.251, allocations: 19.98 kB / 1.058 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.2512, allocations: 10.38 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.2516, allocations: 133.1 kB / 1.058 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.2518, allocations: 0.677 MB / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.079e-05/0.2518, allocations: 4 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.2519, allocations: 11.44 kB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2519, allocations: 0 / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3213/0.5731, allocations: 1.312 MB / 1.06 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.5734, allocations: 191.7 kB / 1.06 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.222, allocations: 4 kB / 1.06 GB, free: 15.59 MB / 0.8262 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