Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_11_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.001318/0.001318, allocations: 108 kB / 15.61 MB, free: 152 kB / 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: 194.4 kB / 16.53 MB, free: 6.664 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.546/2.546, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 64.81 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2601, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001639/0.2618, allocations: 0.5839 MB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004217/0.2622, allocations: 187.3 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.337e-05/0.2622, allocations: 0 / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.938e-06/0.2622, allocations: 0 / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.398e-06/0.2623, allocations: 0 / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.2626, allocations: 63.81 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.119e-05/0.2626, allocations: 0 / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.2627, allocations: 0 / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.146e-05/0.2627, allocations: 0 / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.895e-05/0.2627, allocations: 3.938 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.851e-06/0.2627, allocations: 4 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.2629, allocations: 59.92 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.213e-06/0.2629, allocations: 0 / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.322e-05/0.2629, allocations: 0 / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.8e-05/0.263, allocations: 35.89 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.263, allocations: 0 / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.263, allocations: 4 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.263, allocations: 4 kB / 1.065 GB, free: 13.24 MB / 0.8262 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.0002986/0.2633, allocations: 319.6 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.2634, allocations: 8.031 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.827e-05/0.2634, allocations: 30.75 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.98e-05/0.2634, allocations: 4.938 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.963e-05/0.2635, allocations: 164.4 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.2636, allocations: 384 / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.2636, allocations: 384 / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.083e-05/0.2637, allocations: 38.25 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2637, allocations: 7.875 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.2637, allocations: 4 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.2637, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/0.2637, allocations: 3.938 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.2639, allocations: 145.7 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.029e-05/0.2639, allocations: 22.59 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.411e-05/0.2639, allocations: 4.859 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006835/0.2646, allocations: 457.5 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.2647, allocations: 30.56 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2647, allocations: 3.938 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001139/0.2648, allocations: 41.56 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.2648, allocations: 55.53 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.107e-05/0.2649, allocations: 89.86 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.2649, allocations: 25.7 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.957e-05/0.2649, allocations: 80.14 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.2649, allocations: 8 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.265, allocations: 9.719 kB / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2651, allocations: 310.8 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-06/0.2651, allocations: 0 / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-06/0.2651, allocations: 8 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.856e-05/0.2651, allocations: 4.859 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2651, allocations: 7.984 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.918e-05/0.2652, allocations: 37.64 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.2652, allocations: 4 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2652, allocations: 3.938 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.2652, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.065e-05/0.2653, allocations: 4 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.2653, allocations: 96 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.674e-06/0.2653, allocations: 4 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.2653, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 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 6.29e-05/0.2654, allocations: 105.8 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.2654, allocations: 11.89 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.481e-05/0.2655, allocations: 40.7 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2655, allocations: 0 / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2655, allocations: 0 / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.2655, allocations: 0 / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.567e-05/0.2656, allocations: 153.7 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.2656, allocations: 0 / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.2656, allocations: 4 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.2656, allocations: 0 / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.2656, allocations: 3.938 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.2656, allocations: 0 / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2656, allocations: 3.938 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.606e-05/0.2657, allocations: 65.12 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.2657, allocations: 81.14 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.2658, allocations: 7.875 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.001e-06/0.2658, allocations: 0 / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-06/0.2658, allocations: 3.938 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.2658, allocations: 0 / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.841e-05/0.2658, allocations: 81.12 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of sort global known variables: time 8e-08/0.2658, allocations: 0 / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002212/0.266, allocations: 8 kB / 1.067 GB, free: 10.36 MB / 0.8262 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.0004182/0.2665, allocations: 0.6205 MB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.223e-05/0.2665, allocations: 0 / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.2665, allocations: 8.094 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.504e-06/0.2666, allocations: 3.938 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.2667, allocations: 0 / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.2669, allocations: 122.6 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.2672, allocations: 0.669 MB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.117e-06/0.2672, allocations: 0 / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.2672, allocations: 7.438 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2672, allocations: 0 / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5342/0.8015, allocations: 1.122 MB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.02, allocations: 14.42 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches