Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.004359/0.004359, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001183/0.001184, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.831/2.831, allocations: 469.8 MB / 0.7425 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 68.08 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3292, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002586/0.3319, allocations: 1.445 MB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005025/0.3324, allocations: 235.3 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.3324, allocations: 0 / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.3325, allocations: 0 / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.715e-05/0.3325, allocations: 3.938 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.3329, allocations: 63.45 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.979e-05/0.3329, allocations: 23.88 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.333, allocations: 15.97 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.962e-05/0.3331, allocations: 4 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.471e-05/0.3331, allocations: 15.92 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.3332, allocations: 0 / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.3333, allocations: 55.95 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.3333, allocations: 3.984 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.3333, allocations: 11.94 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.3335, allocations: 59.73 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3335, allocations: 4 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3335, allocations: 0 / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.3335, allocations: 0 / 1.222 GB, free: 12.32 MB / 0.9825 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.0004776/0.334, allocations: 343.4 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3341, allocations: 8.031 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.3341, allocations: 34.73 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.3341, allocations: 8.891 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.3343, allocations: 160.4 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3343, allocations: 4.312 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.3343, allocations: 8.375 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3345, allocations: 46.23 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3345, allocations: 7.938 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.3345, allocations: 0 / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3345, allocations: 0 / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.3347, allocations: 35.89 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.335, allocations: 245 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.3351, allocations: 42.5 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.669e-05/0.3352, allocations: 24.89 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006619/0.3359, allocations: 457.5 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.3359, allocations: 34.56 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 3.045e-06/0.3359, allocations: 0 / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003404/0.3363, allocations: 81.58 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.3363, allocations: 51.41 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/0.3364, allocations: 106 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3364, allocations: 25.7 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.3365, allocations: 92.03 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.3365, allocations: 7.953 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.3365, allocations: 13.72 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3367, allocations: 314.8 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.3368, allocations: 19.98 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-05/0.3368, allocations: 15.98 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.337, allocations: 44.77 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.337, allocations: 7.875 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001907/0.3372, allocations: 65.66 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3372, allocations: 4 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3372, allocations: 4.094 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3372, allocations: 0 / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.085e-05/0.3373, allocations: 11.98 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.3373, allocations: 0 / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.3374, allocations: 7.984 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.3374, allocations: 0 / 1.224 GB, free: 9.703 MB / 0.9825 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 7.365e-05/0.3375, allocations: 109.8 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.3375, allocations: 4 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.3377, allocations: 76.91 kB / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3377, allocations: 3.984 kB / 1.224 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3377, allocations: 0 / 1.224 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3378, allocations: 0 / 1.224 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.3379, allocations: 165.6 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3379, allocations: 4 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.338, allocations: 7.984 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.338, allocations: 3.938 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.338, allocations: 4.031 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.338, allocations: 0 / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.338, allocations: 4 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.3383, allocations: 167.3 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.3383, allocations: 81.11 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.3383, allocations: 0 / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.3384, allocations: 12.02 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.3384, allocations: 0 / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.3385, allocations: 0 / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.366e-05/0.3385, allocations: 83.28 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3385, allocations: 0 / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002312/0.3387, allocations: 19.94 kB / 1.225 GB, free: 8.875 MB / 0.9825 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.0006087/0.3394, allocations: 0.709 MB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.3396, allocations: 43.92 kB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3396, allocations: 0 / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.948e-05/0.3397, allocations: 19.98 kB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.3399, allocations: 9.656 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.3403, allocations: 138.9 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.3406, allocations: 0.6768 MB / 1.227 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.064e-05/0.3406, allocations: 8.125 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.3406, allocations: 11.44 kB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3406, allocations: 0 / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6838/1.024, allocations: 1.513 MB / 1.228 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.47, allocations: 3.938 kB / 1.228 GB, free: 5.723 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches