Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_9_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.00518/0.00518, allocations: 102 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.001237/0.001237, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.205/1.205, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.937/1.937, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 67.89 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6279/0.629, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001886/0.6309, allocations: 1.424 MB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003881/0.6313, allocations: 247.6 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.6313, allocations: 9.312 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.6313, allocations: 4.5 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.558e-05/0.6314, allocations: 4.688 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.6317, allocations: 54.14 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.874e-05/0.6317, allocations: 19.92 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.867e-05/0.6318, allocations: 7.844 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.158e-05/0.6318, allocations: 9.141 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.165e-05/0.6319, allocations: 10.89 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.975e-06/0.6319, allocations: 1.188 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.632, allocations: 65.44 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.148e-06/0.632, allocations: 1.859 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.6321, allocations: 15.27 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.6322, allocations: 52.34 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.6322, allocations: 1.125 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6322, allocations: 0 / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.6322, allocations: 0 / 1.089 GB, free: 4 MB / 0.8575 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.000309/0.6325, allocations: 342.3 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.6326, allocations: 10.31 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.421e-05/0.6326, allocations: 39.25 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.169e-05/0.6326, allocations: 11.66 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.705e-05/0.6327, allocations: 162.6 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.6327, allocations: 1.5 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-06/0.6327, allocations: 2.078 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.6329, allocations: 52.77 kB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.6329, allocations: 4.547 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.6329, allocations: 0 / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.6329, allocations: 1.438 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.633, allocations: 36.42 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.6333, allocations: 257.8 kB / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.6334, allocations: 37.19 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.6335, allocations: 31.33 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004568/0.6339, allocations: 453.9 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.6339, allocations: 32.2 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6339, allocations: 0 / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003057/0.6343, allocations: 88.02 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.6343, allocations: 52.19 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.329e-05/0.6343, allocations: 101 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.6343, allocations: 26.22 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.988e-05/0.6344, allocations: 86.03 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.6344, allocations: 4.969 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.6344, allocations: 16.83 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.6345, allocations: 313.6 kB / 1.091 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-05/0.6345, allocations: 17.84 kB / 1.091 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/0.6346, allocations: 19.36 kB / 1.091 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.6348, allocations: 40.56 kB / 1.091 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6348, allocations: 8 kB / 1.091 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001721/0.635, allocations: 66.94 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.635, allocations: 5.266 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.635, allocations: 1.125 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.635, allocations: 0.6562 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.407e-05/0.6351, allocations: 9.156 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.6351, allocations: 0 / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.6351, allocations: 6.891 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.6351, allocations: 4 kB / 1.092 GB, free: 1.758 MB / 0.8575 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 4.194e-05/0.6352, allocations: 113.2 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.6352, allocations: 1.344 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.6354, allocations: 74.31 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6354, allocations: 1.703 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.6354, allocations: 0 / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.6354, allocations: 4.812 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.6356, allocations: 159.4 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6356, allocations: 0.6875 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.6356, allocations: 9.469 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6356, allocations: 0.9688 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.6356, allocations: 4 kB / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6356, allocations: 0.75 kB / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6356, allocations: 3.938 kB / 1.092 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.6358, allocations: 167 kB / 1.092 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.6359, allocations: 83.53 kB / 1.092 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.6359, allocations: 0.7969 kB / 1.092 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.636, allocations: 5.891 kB / 1.092 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.636, allocations: 6.734 kB / 1.092 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.636, allocations: 0.6562 kB / 1.092 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.934e-05/0.636, allocations: 85.03 kB / 1.092 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.636, allocations: 4.031 kB / 1.092 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002205/0.6363, allocations: 14.39 kB / 1.092 GB, free: 1.059 MB / 0.8575 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.0005142/0.6368, allocations: 0.7123 MB / 1.093 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001902/0.637, allocations: 39.12 kB / 1.093 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.637, allocations: 0 / 1.093 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.786e-05/0.6371, allocations: 20.06 kB / 1.093 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.6373, allocations: 7.312 kB / 1.093 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.6376, allocations: 142 kB / 1.093 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.6378, allocations: 0.6761 MB / 1.094 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.806e-05/0.6378, allocations: 5.047 kB / 1.094 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.6379, allocations: 14.33 kB / 1.094 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.6379, allocations: 0 / 1.094 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.453/2.091, allocations: 1.507 MB / 1.095 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.425/9.515, allocations: 14.38 kB / 1.095 GB, free: 15.1 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches