Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.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.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_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.0019/0.0019, 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.002131/0.002131, allocations: 198.2 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.564/2.564, allocations: 469.8 MB / 0.7424 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001807, allocations: 70.48 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2603, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001604/0.262, allocations: 0.579 MB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004175/0.2624, allocations: 199.3 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.031e-05/0.2624, allocations: 0 / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.2625, allocations: 4 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.138e-06/0.2625, allocations: 0 / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.2628, allocations: 52.83 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.073e-05/0.2628, allocations: 3.984 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.2629, allocations: 8 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.297e-05/0.2629, allocations: 0 / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.537e-05/0.2629, allocations: 7.938 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.56e-06/0.2629, allocations: 0 / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.2631, allocations: 59.88 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.851e-06/0.2631, allocations: 0 / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.494e-05/0.2631, allocations: 7.984 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.351e-05/0.2632, allocations: 31.95 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2632, allocations: 0 / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2632, allocations: 0 / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.2632, allocations: 0 / 1.065 GB, free: 13.23 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.0002765/0.2635, allocations: 319.6 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.2635, allocations: 12.03 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.2636, allocations: 34.75 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.715e-05/0.2636, allocations: 0.9375 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.278e-05/0.2637, allocations: 164.4 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.2637, allocations: 384 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-06/0.2637, allocations: 384 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.39e-05/0.2638, allocations: 30.2 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2638, allocations: 3.938 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.2638, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-06/0.2638, allocations: 4 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.591e-05/0.2639, allocations: 7.984 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.264, allocations: 149.7 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.547e-05/0.264, allocations: 18.61 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.262e-05/0.2641, allocations: 8.797 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006895/0.2647, allocations: 457.5 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.2648, allocations: 38.5 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2648, allocations: 4 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001163/0.2649, allocations: 33.64 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.265, allocations: 55.39 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.874e-05/0.265, allocations: 89.86 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.265, allocations: 29.83 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.2651, allocations: 80.14 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.2651, allocations: 0 / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.2651, allocations: 17.72 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2652, allocations: 314.8 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-06/0.2652, allocations: 0 / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-06/0.2653, allocations: 0 / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.2653, allocations: 12.8 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2653, allocations: 4.062 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.891e-05/0.2653, allocations: 33.69 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.2654, allocations: 8 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2654, allocations: 3.938 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.2654, allocations: 0 / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.911e-05/0.2654, allocations: 0 / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.2654, allocations: 0 / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.885e-06/0.2654, allocations: 4 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.2655, allocations: 0 / 1.067 GB, free: 11.01 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.487e-05/0.2655, allocations: 113.9 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.2655, allocations: 3.906 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.692e-05/0.2656, allocations: 44.69 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.2656, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2656, allocations: 4 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.2656, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.097e-05/0.2657, allocations: 141.7 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.2657, allocations: 0 / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-05/0.2657, allocations: 3.984 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2658, allocations: 8.031 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.2658, allocations: 7.938 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2658, allocations: 0 / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2658, allocations: 3.938 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.435e-05/0.2658, allocations: 53.08 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.2659, allocations: 81.09 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.2659, allocations: 7.938 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-06/0.2659, allocations: 4 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-06/0.2659, allocations: 8.016 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.2659, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.921e-05/0.266, allocations: 81.12 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.266, allocations: 0 / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001823/0.2662, allocations: 16 kB / 1.067 GB, free: 10.34 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.0004065/0.2666, allocations: 0.6127 MB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.83e-05/0.2666, allocations: 11.92 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2666, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.624e-06/0.2667, allocations: 4 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.2668, allocations: 5.344 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.267, allocations: 118.7 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.2673, allocations: 0.6768 MB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.764e-06/0.2673, allocations: 0 / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.235e-05/0.2673, allocations: 7.438 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2673, allocations: 0 / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4665/0.7338, allocations: 1.118 MB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/15.77, allocations: 13.94 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches