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.001454/0.001454, allocations: 108 kB / 15.61 MB, free: 152 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.001801/0.001801, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.335/2.335, allocations: 390.2 MB / 0.6647 GB, free: 296 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 59.91 kB / 0.8126 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6414/0.6428, allocations: 140.4 MB / 0.9497 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002172/0.645, allocations: 1.422 MB / 0.9511 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004291/0.6455, allocations: 262 kB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.6455, allocations: 0.875 kB / 0.9514 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.6456, allocations: 3.984 kB / 0.9514 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.6456, allocations: 9.5 kB / 0.9514 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.6459, allocations: 54.36 kB / 0.9514 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.959e-05/0.646, allocations: 21.38 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.377e-05/0.6461, allocations: 11.03 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.6461, allocations: 10.41 kB / 0.9515 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.22e-05/0.6461, allocations: 10.52 kB / 0.9515 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.6461, allocations: 2.562 kB / 0.9515 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.6463, allocations: 59.81 kB / 0.9515 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.6463, allocations: 9.281 kB / 0.9515 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.6463, allocations: 18.83 kB / 0.9516 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.6464, allocations: 43.97 kB / 0.9516 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6465, allocations: 3.984 kB / 0.9516 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6465, allocations: 0 / 0.9516 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.299e-06/0.6465, allocations: 0 / 0.9516 GB, free: 7.766 MB / 0.7169 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.0003281/0.6468, allocations: 346.6 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.6469, allocations: 9.75 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.108e-05/0.6469, allocations: 30.75 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.6469, allocations: 9.844 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.844e-05/0.647, allocations: 169.7 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.647, allocations: 1.688 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.647, allocations: 1.875 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.6472, allocations: 48.67 kB / 0.9522 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.6472, allocations: 9.312 kB / 0.9522 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.6472, allocations: 0 / 0.9522 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.6472, allocations: 3.938 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.6474, allocations: 38.44 kB / 0.9522 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.6476, allocations: 252.8 kB / 0.9525 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.6477, allocations: 42.92 kB / 0.9525 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.6478, allocations: 23.31 kB / 0.9525 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005529/0.6484, allocations: 459.1 kB / 0.953 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.6484, allocations: 35.78 kB / 0.953 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.6484, allocations: 0 / 0.953 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003302/0.6487, allocations: 84.64 kB / 0.9531 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.768e-05/0.6488, allocations: 51.41 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.593e-05/0.6488, allocations: 99.27 kB / 0.9532 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.6488, allocations: 25.7 kB / 0.9533 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.183e-05/0.6488, allocations: 85.44 kB / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.6489, allocations: 5.031 kB / 0.9533 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.6489, allocations: 16.38 kB / 0.9534 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.6489, allocations: 315 kB / 0.9537 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.649, allocations: 18.27 kB / 0.9537 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.6491, allocations: 20.97 kB / 0.9537 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.6493, allocations: 34.95 kB / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.6493, allocations: 3.938 kB / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001776/0.6494, allocations: 69.41 kB / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.6495, allocations: 4.25 kB / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.6495, allocations: 1.375 kB / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.6495, allocations: 0 / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.6496, allocations: 9.828 kB / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.6496, allocations: 0 / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.6496, allocations: 7.938 kB / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.6496, allocations: 1.031 kB / 0.9538 GB, free: 5.406 MB / 0.7169 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.226e-05/0.6497, allocations: 120 kB / 0.9539 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.6497, allocations: 13.31 kB / 0.954 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.6499, allocations: 69.78 kB / 0.954 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.6499, allocations: 1.188 kB / 0.954 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6499, allocations: 0 / 0.954 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.65, allocations: 0 / 0.954 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.6501, allocations: 162.1 kB / 0.9542 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.6501, allocations: 7.969 kB / 0.9542 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.6501, allocations: 10.23 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6501, allocations: 1.375 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.6502, allocations: 0 / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6502, allocations: 0 / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6502, allocations: 1.344 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.6504, allocations: 171 kB / 0.9544 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.6504, allocations: 77.11 kB / 0.9544 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.6504, allocations: 5.172 kB / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.6505, allocations: 4.062 kB / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.6505, allocations: 1.531 kB / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.6505, allocations: 0 / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2e-05/0.6505, allocations: 83.48 kB / 0.9545 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6505, allocations: 0 / 0.9545 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002369/0.6508, allocations: 21.38 kB / 0.9545 GB, free: 4.656 MB / 0.7169 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.0004396/0.6512, allocations: 0.7211 MB / 0.9552 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.6514, allocations: 33.75 kB / 0.9553 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6515, allocations: 0 / 0.9553 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.144e-05/0.6515, allocations: 19.06 kB / 0.9553 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.6518, allocations: 11.66 kB / 0.9553 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.6521, allocations: 137 kB / 0.9554 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.239e-05/0.6522, allocations: 0.6808 MB / 0.9561 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.974e-05/0.6522, allocations: 5.188 kB / 0.9561 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.6523, allocations: 8.312 kB / 0.9561 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6523, allocations: 0 / 0.9561 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/0.6664, allocations: 1.489 MB / 0.9576 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/8.159, allocations: 3.281 kB / 0.9576 GB, free: 2.207 MB / 0.7169 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