Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_10_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.001078/0.001078, allocations: 108 kB / 15.6 MB, free: 132 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.001042/0.001042, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.486/2.486, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5992/0.6006, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001671/0.6023, allocations: 0.5803 MB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004425/0.6028, allocations: 195.3 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.587e-05/0.6028, allocations: 3.938 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.094e-05/0.6028, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-06/0.6028, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.6032, allocations: 59.81 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.758e-05/0.6032, allocations: 4 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.6033, allocations: 8 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.269e-05/0.6033, allocations: 0 / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.747e-05/0.6033, allocations: 0 / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.121e-06/0.6033, allocations: 0 / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.6035, allocations: 59.94 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.427e-06/0.6035, allocations: 3.938 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.6035, allocations: 7.922 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.6037, allocations: 27.95 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6037, allocations: 0 / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6037, allocations: 0 / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.6037, allocations: 0 / 1.018 GB, free: 1.52 MB / 0.7637 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.0002426/0.6039, allocations: 331.6 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.604, allocations: 8.031 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.459e-05/0.604, allocations: 30.75 kB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.919e-05/0.604, allocations: 0.9375 kB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.086e-05/0.6041, allocations: 160.4 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.6041, allocations: 4.375 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-06/0.6041, allocations: 384 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.466e-05/0.6042, allocations: 26.27 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.6042, allocations: 7.938 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.6042, allocations: 0 / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.6042, allocations: 7.922 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.906e-05/0.6043, allocations: 7.984 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.6044, allocations: 149.6 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.107e-05/0.6044, allocations: 18.61 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.6044, allocations: 8.859 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006611/0.6051, allocations: 461.5 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.6051, allocations: 30.56 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.6051, allocations: 0 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001254/0.6053, allocations: 41.58 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.6053, allocations: 59.52 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.847e-05/0.6053, allocations: 89.86 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.6054, allocations: 25.7 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 1.883e-05/0.6054, allocations: 84.08 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.6054, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.6054, allocations: 17.72 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.6055, allocations: 310.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-06/0.6055, allocations: 3.938 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-06/0.6055, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.6056, allocations: 16.86 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.6056, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.565e-05/0.6056, allocations: 33.69 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.6057, allocations: 8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.6057, allocations: 3.938 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.6057, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.409e-05/0.6057, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.6057, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.217e-05/0.6057, allocations: 4 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.6058, allocations: 12.03 kB / 1.02 GB, free: 15.27 MB / 0.7794 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 5.643e-05/0.6058, allocations: 105.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-06/0.6058, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.56e-05/0.6059, allocations: 44.69 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.6059, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6059, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-06/0.6059, allocations: 4 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.608e-05/0.606, allocations: 145.7 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.606, allocations: 4.031 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.196e-05/0.606, allocations: 3.984 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.606, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.6061, allocations: 7.938 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6061, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6061, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.409e-05/0.6061, allocations: 49.14 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.6062, allocations: 85.03 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.6062, allocations: 11.97 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-06/0.6062, allocations: 4 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-06/0.6062, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.6062, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.45e-05/0.6062, allocations: 75.28 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6062, allocations: 3.938 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001937/0.6064, allocations: 12 kB / 1.021 GB, free: 14.62 MB / 0.7794 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.0003611/0.6068, allocations: 0.6207 MB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.159e-05/0.6069, allocations: 11.92 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6069, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.845e-06/0.6069, allocations: 8.094 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.607, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.6073, allocations: 118.6 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.6075, allocations: 0.6729 MB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.155e-05/0.6075, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.332e-05/0.6075, allocations: 7.438 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6075, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.6247, allocations: 1.121 MB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/7.363, allocations: 9.609 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches