Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_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.007327/0.007332, allocations: 98.98 kB / 15.73 MB, free: 6.012 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.001717/0.001717, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.592/1.592, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.263/2.263, allocations: 390.3 MB / 0.6648 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.89 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8628/0.8642, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002516/0.8667, allocations: 1.426 MB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004981/0.8673, allocations: 261.7 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.8673, allocations: 0.9062 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.8673, allocations: 4.688 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.045e-05/0.8674, allocations: 9.016 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.8678, allocations: 55.69 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.308e-05/0.8678, allocations: 19.02 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.052e-05/0.8679, allocations: 9.375 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.318e-05/0.868, allocations: 16.5 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.972e-05/0.868, allocations: 10.25 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.868, allocations: 1.188 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.8682, allocations: 63.88 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.8682, allocations: 1.594 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.8682, allocations: 10.89 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.8684, allocations: 56.92 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8684, allocations: 0 / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8684, allocations: 1 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.8684, allocations: 0 / 1.089 GB, free: 3.988 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.0003928/0.8688, allocations: 348.3 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.8689, allocations: 10.52 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.634e-05/0.8689, allocations: 39.75 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.8689, allocations: 2.828 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.641e-05/0.869, allocations: 162.4 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.869, allocations: 1.438 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.8691, allocations: 2.062 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.8692, allocations: 52.66 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.8692, allocations: 4.688 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.8693, allocations: 0 / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.8693, allocations: 0.9688 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.8694, allocations: 32.81 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.8697, allocations: 254.8 kB / 1.09 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.8698, allocations: 44.38 kB / 1.09 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.87, allocations: 27.67 kB / 1.09 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006712/0.8706, allocations: 458.1 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.8707, allocations: 35.95 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.8707, allocations: 4.625 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003892/0.8711, allocations: 87.36 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.8711, allocations: 53.42 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.34e-05/0.8712, allocations: 100.5 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/0.8712, allocations: 29.83 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.8712, allocations: 81.81 kB / 1.091 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.8712, allocations: 13.8 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.8713, allocations: 12.55 kB / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/0.8713, allocations: 312.6 kB / 1.091 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.748e-05/0.8714, allocations: 18.39 kB / 1.091 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.8715, allocations: 14.81 kB / 1.091 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.8717, allocations: 40.92 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8717, allocations: 3.938 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/0.8719, allocations: 67.34 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.8719, allocations: 6.078 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.8719, allocations: 0 / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.8719, allocations: 5.094 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-05/0.872, allocations: 12.59 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.872, allocations: 1.062 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.8721, allocations: 5.828 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.8721, allocations: 0.875 kB / 1.092 GB, free: 1.742 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.901e-05/0.8721, allocations: 112.2 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.8722, allocations: 1.609 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.8724, allocations: 79.5 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.8724, allocations: 0 / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.8724, allocations: 1 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8724, allocations: 0.7969 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.8725, allocations: 163.2 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8726, allocations: 0.7969 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.8726, allocations: 12.41 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.8726, allocations: 1.094 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.8726, allocations: 0.5156 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.8726, allocations: 5.188 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.8726, allocations: 4.641 kB / 1.092 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.8728, allocations: 162.5 kB / 1.092 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.8729, allocations: 78.89 kB / 1.092 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.8729, allocations: 1.641 kB / 1.092 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.873, allocations: 9.344 kB / 1.092 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.873, allocations: 6.781 kB / 1.092 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.873, allocations: 1.25 kB / 1.092 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.376e-05/0.8731, allocations: 79.25 kB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8731, allocations: 1.281 kB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002462/0.8734, allocations: 25.55 kB / 1.092 GB, free: 17.04 MB / 0.8731 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.0005313/0.8739, allocations: 0.7085 MB / 1.093 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.8741, allocations: 43.11 kB / 1.093 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8741, allocations: 0 / 1.093 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.167e-05/0.8742, allocations: 17.14 kB / 1.093 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.8744, allocations: 5.922 kB / 1.093 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.8748, allocations: 132.7 kB / 1.093 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.8751, allocations: 0.6759 MB / 1.094 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.301e-05/0.8751, allocations: 1.547 kB / 1.094 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.8751, allocations: 13.17 kB / 1.094 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/0.8752, allocations: 0.8125 kB / 1.094 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.8921, allocations: 1.514 MB / 1.095 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.444/8.337, allocations: 9.453 kB / 1.095 GB, free: 15.09 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.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_9_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches