Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_10_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.00131/0.00131, 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.001398/0.001398, 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.571/2.571, allocations: 437 MB / 0.7104 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 59.91 kB / 0.8693 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5412/0.5426, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002498/0.5452, allocations: 1.431 MB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004837/0.5457, allocations: 264 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.499e-05/0.5457, allocations: 0 / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.5457, allocations: 0 / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.755e-05/0.5458, allocations: 3.938 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.5461, allocations: 63.81 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.317e-05/0.5462, allocations: 27.86 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.212e-05/0.5463, allocations: 4 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.535e-05/0.5463, allocations: 15.98 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.284e-05/0.5463, allocations: 11.92 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.5464, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.5465, allocations: 59.94 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.5465, allocations: 7.984 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.5466, allocations: 7.938 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.5467, allocations: 55.86 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5467, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.336e-06/0.5467, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.5467, allocations: 3.938 kB / 1.019 GB, free: 0.4922 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003861/0.5471, allocations: 347.6 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.5471, allocations: 12.03 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.5472, allocations: 34.73 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.112e-05/0.5472, allocations: 0.9375 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.5473, allocations: 164.3 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.5473, allocations: 4.375 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.5473, allocations: 384 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.5475, allocations: 50.23 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.5475, allocations: 7.938 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.5476, allocations: 3.938 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.5476, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.5477, allocations: 39.89 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.548, allocations: 248.9 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.5481, allocations: 46.48 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.604e-05/0.5482, allocations: 20.89 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006598/0.5489, allocations: 461.5 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.549, allocations: 34.56 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.549, allocations: 3.938 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003451/0.5493, allocations: 77.66 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.5494, allocations: 55.39 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.418e-05/0.5494, allocations: 93.86 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.5494, allocations: 25.83 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.5495, allocations: 88.14 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.5495, allocations: 7.906 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.5495, allocations: 13.7 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.5496, allocations: 318.8 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.5497, allocations: 11.98 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.5498, allocations: 15.98 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.55, allocations: 48.81 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.55, allocations: 3.938 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001885/0.5502, allocations: 61.67 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.5502, allocations: 7.984 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.5502, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.5502, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/0.5503, allocations: 15.97 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5503, allocations: 3.984 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.5504, allocations: 11.89 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.5504, allocations: 0 / 1.022 GB, free: 13.88 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 (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 8.236e-05/0.5505, allocations: 113.8 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.5505, allocations: 4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.5507, allocations: 80.7 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.5507, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5507, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.5508, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.5509, allocations: 161.6 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5509, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.551, allocations: 7.984 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.551, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.551, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.551, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.551, allocations: 8.031 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.5512, allocations: 167.3 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.5513, allocations: 81.11 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.5513, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.5514, allocations: 7.984 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.5514, allocations: 8.031 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.5514, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.23e-05/0.5515, allocations: 83.27 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5515, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002368/0.5517, allocations: 20 kB / 1.022 GB, free: 13.05 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 (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.000553/0.5523, allocations: 0.7179 MB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.5525, allocations: 39.89 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5525, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.539e-05/0.5526, allocations: 24.08 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.5528, allocations: 5.406 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.5532, allocations: 131.3 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.5534, allocations: 0.6729 MB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.381e-05/0.5535, allocations: 7.984 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.5535, allocations: 19.44 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.5535, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.5695, allocations: 1.475 MB / 1.025 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.938/7.508, allocations: 9.547 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches