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.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.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.001155/0.001155, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008316/0.008316, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.532/2.532, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003146, allocations: 11.56 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2641, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006446/0.2648, allocations: 322.9 kB / 1.059 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004728/0.2653, allocations: 199.4 kB / 1.059 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.156e-06/0.2653, allocations: 0 / 1.059 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.091e-05/0.2653, allocations: 0 / 1.059 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.589e-06/0.2653, allocations: 0 / 1.059 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.2657, allocations: 43.89 kB / 1.059 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.164e-05/0.2657, allocations: 4 kB / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.2658, allocations: 0 / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.352e-05/0.2658, allocations: 4 kB / 1.059 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.189e-05/0.2658, allocations: 3.938 kB / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/0.2658, allocations: 0 / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.266, allocations: 63.88 kB / 1.059 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.653e-06/0.266, allocations: 0 / 1.059 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.266, allocations: 25.7 kB / 1.059 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.2661, allocations: 27.95 kB / 1.059 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.2662, allocations: 11.98 kB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2662, allocations: 0 / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2662, allocations: 0 / 1.059 GB, free: 4.168 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002494/0.2664, allocations: 319.6 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2665, allocations: 11.97 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.2665, allocations: 30.75 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.943e-05/0.2665, allocations: 0.9375 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.988e-05/0.2666, allocations: 168.3 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2666, allocations: 4.375 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.2667, allocations: 384 / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.079e-05/0.2667, allocations: 30.27 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.2668, allocations: 7.875 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.2668, allocations: 0 / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2668, allocations: 0 / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.2668, allocations: 4 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.2669, allocations: 145.7 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.166e-05/0.267, allocations: 26.53 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.267, allocations: 8.859 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006593/0.2677, allocations: 449.5 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.2677, allocations: 34.56 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2677, allocations: 3.938 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001235/0.2678, allocations: 45.61 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.2679, allocations: 51.41 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.903e-05/0.2679, allocations: 89.86 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.2679, allocations: 25.7 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.1e-05/0.2679, allocations: 88.08 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.268, allocations: 0 / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.268, allocations: 9.719 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.589e-05/0.2681, allocations: 314.8 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/0.2681, allocations: 128 / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-06/0.2681, allocations: 4 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.045e-05/0.2681, allocations: 8.859 kB / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2681, allocations: 0 / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.949e-05/0.2682, allocations: 33.69 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2682, allocations: 8 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2682, allocations: 3.938 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.2682, allocations: 0 / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.802e-05/0.2683, allocations: 3.938 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2683, allocations: 8.094 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-06/0.2683, allocations: 0 / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2683, allocations: 3.984 kB / 1.061 GB, free: 1.938 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 (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.992e-05/0.2684, allocations: 109.8 kB / 1.061 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-06/0.2684, allocations: 0 / 1.061 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.355e-05/0.2685, allocations: 44.75 kB / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2685, allocations: 0 / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2685, allocations: 4 kB / 1.061 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.2685, allocations: 0 / 1.061 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.798e-05/0.2686, allocations: 149.7 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2686, allocations: 0 / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.216e-05/0.2686, allocations: 0 / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.2686, allocations: 4 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.2686, allocations: 3.938 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2686, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2686, allocations: 7.875 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.629e-05/0.2687, allocations: 53.14 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.2687, allocations: 89.12 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.2688, allocations: 7.875 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.2688, allocations: 0 / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-06/0.2688, allocations: 0 / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.2688, allocations: 0 / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.103e-05/0.2688, allocations: 75.28 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2688, allocations: 0 / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002005/0.269, allocations: 16 kB / 1.062 GB, free: 1.285 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 (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.0004061/0.2694, allocations: 0.6243 MB / 1.062 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.696e-05/0.2695, allocations: 7.984 kB / 1.062 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2695, allocations: 4.094 kB / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.303e-06/0.2695, allocations: 4 kB / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.2697, allocations: 0 / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.2699, allocations: 104.4 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.2701, allocations: 0.6731 MB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.264e-05/0.2702, allocations: 0 / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.2702, allocations: 15.38 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2702, allocations: 3.938 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009689/0.2799, allocations: 0.9608 MB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/0.2801, allocations: 203.8 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/1.823, allocations: 3.938 kB / 1.064 GB, free: 14.66 MB / 0.8262 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