Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_9_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.004788/0.004788, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001054/0.001054, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.15 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 2.057/2.057, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.91 kB / 0.9504 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6571/0.6582, allocations: 140.4 MB / 1.088 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001539/0.6598, allocations: 0.5791 MB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004063/0.6602, allocations: 204.5 kB / 1.088 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.23e-05/0.6603, allocations: 0 / 1.088 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.6603, allocations: 4.812 kB / 1.088 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-06/0.6603, allocations: 0 / 1.088 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.6606, allocations: 53.78 kB / 1.088 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.266e-05/0.6607, allocations: 8 kB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.6607, allocations: 2.172 kB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.231e-05/0.6607, allocations: 1.531 kB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.667e-05/0.6608, allocations: 0 / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.533e-06/0.6608, allocations: 1.125 kB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.6609, allocations: 60.81 kB / 1.088 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.775e-06/0.6609, allocations: 5.125 kB / 1.088 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.353e-05/0.661, allocations: 4.734 kB / 1.088 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.6611, allocations: 27.86 kB / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6611, allocations: 0 / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6611, allocations: 0.5156 kB / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.6611, allocations: 1.031 kB / 1.088 GB, free: 4.715 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001932/0.6613, allocations: 323.6 kB / 1.089 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.6613, allocations: 9.688 kB / 1.089 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.869e-05/0.6614, allocations: 31.91 kB / 1.089 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.892e-05/0.6614, allocations: 5.641 kB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.881e-05/0.6614, allocations: 165 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.6614, allocations: 1.344 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-06/0.6614, allocations: 384 / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.639e-05/0.6615, allocations: 33.48 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.6615, allocations: 4.875 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-06/0.6615, allocations: 0 / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.6615, allocations: 0 / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.66e-05/0.6616, allocations: 2.766 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.573e-05/0.6617, allocations: 156.3 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 2.832e-05/0.6617, allocations: 20.81 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.308e-05/0.6617, allocations: 5.672 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/0.6624, allocations: 458.4 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.6624, allocations: 44.2 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.6624, allocations: 0 / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001136/0.6625, allocations: 36.31 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.6625, allocations: 52.06 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.524e-05/0.6626, allocations: 89.86 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.6626, allocations: 26.92 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.538e-06/0.6626, allocations: 80.27 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.6626, allocations: 5.891 kB / 1.09 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.6626, allocations: 14.81 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.075e-05/0.6627, allocations: 312.8 kB / 1.09 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/0.6627, allocations: 1.625 kB / 1.09 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.6627, allocations: 1.125 kB / 1.09 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.138e-05/0.6627, allocations: 12 kB / 1.09 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6627, allocations: 0 / 1.09 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.108e-05/0.6628, allocations: 35.77 kB / 1.09 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.6628, allocations: 5.797 kB / 1.09 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.6628, allocations: 5.062 kB / 1.09 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.6628, allocations: 0 / 1.09 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.585e-05/0.6629, allocations: 2.562 kB / 1.09 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.6629, allocations: 0 / 1.09 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.588e-06/0.6629, allocations: 1.547 kB / 1.09 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.6629, allocations: 0 / 1.09 GB, free: 2.621 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 (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 3.85e-05/0.6629, allocations: 112.5 kB / 1.09 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-06/0.663, allocations: 4.688 kB / 1.09 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.511e-05/0.663, allocations: 50.81 kB / 1.09 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.663, allocations: 1.062 kB / 1.09 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.663, allocations: 0.7969 kB / 1.09 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.663, allocations: 0.9375 kB / 1.09 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.592e-05/0.6631, allocations: 152.5 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6631, allocations: 0.6094 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.115e-05/0.6631, allocations: 1.281 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6631, allocations: 1.703 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.6631, allocations: 3.938 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6631, allocations: 4.031 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.6631, allocations: 1.578 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.448e-05/0.6632, allocations: 56.5 kB / 1.091 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.6632, allocations: 78.94 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.6632, allocations: 4.734 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-06/0.6632, allocations: 5.094 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-06/0.6633, allocations: 4.609 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.6633, allocations: 9.062 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.427e-06/0.6633, allocations: 75.28 kB / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.6633, allocations: 0 / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002085/0.6635, allocations: 15.52 kB / 1.091 GB, free: 1.988 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 (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.0003826/0.6639, allocations: 0.6135 MB / 1.091 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 5.951e-05/0.6639, allocations: 8.141 kB / 1.091 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.664, allocations: 1.125 kB / 1.091 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.192e-06/0.664, allocations: 2.25 kB / 1.091 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.6641, allocations: 1.922 kB / 1.091 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.6644, allocations: 121.8 kB / 1.092 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.6646, allocations: 0.6707 MB / 1.092 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.789e-06/0.6646, allocations: 1.766 kB / 1.092 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.175e-05/0.6646, allocations: 8.375 kB / 1.092 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.6646, allocations: 0 / 1.092 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.184/0.8486, allocations: 1.153 MB / 1.093 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.655/9.504, allocations: 5.312 kB / 1.093 GB, free: 16.16 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches