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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.332/2.332, allocations: 443.5 MB / 0.7304 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 71.89 kB / 1.059 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2652, allocations: 160.7 MB / 1.216 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001601/0.2668, allocations: 0.5823 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004315/0.2673, allocations: 199.3 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.018e-05/0.2673, allocations: 0 / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.2673, allocations: 0 / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.929e-06/0.2673, allocations: 0 / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.2676, allocations: 55.83 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.234e-05/0.2676, allocations: 3.984 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.254e-05/0.2677, allocations: 0 / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.678e-06/0.2677, allocations: 0 / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.526e-05/0.2677, allocations: 4 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.869e-06/0.2677, allocations: 0 / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.2679, allocations: 63.86 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.233e-06/0.2679, allocations: 8 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.145e-05/0.2679, allocations: 0 / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.268, allocations: 40.16 kB / 1.217 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.268, allocations: 0 / 1.217 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.002e-06/0.268, allocations: 0 / 1.217 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.268, allocations: 3.938 kB / 1.217 GB, free: 14.94 MB / 0.9669 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.0002806/0.2683, allocations: 311.5 kB / 1.217 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.2683, allocations: 12.03 kB / 1.217 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.2683, allocations: 34.73 kB / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.697e-05/0.2684, allocations: 4.938 kB / 1.217 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.2685, allocations: 168.3 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2685, allocations: 4.312 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-06/0.2685, allocations: 384 / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.779e-05/0.2685, allocations: 34.27 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.2686, allocations: 3.938 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-06/0.2686, allocations: 0 / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.2686, allocations: 0 / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.401e-05/0.2686, allocations: 0 / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.2687, allocations: 153.7 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.889e-05/0.2688, allocations: 18.52 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.2688, allocations: 8.953 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/0.2695, allocations: 457.5 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.2695, allocations: 34.56 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.2695, allocations: 0 / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001095/0.2696, allocations: 41.59 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.2696, allocations: 51.41 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.105e-05/0.2697, allocations: 89.86 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.2697, allocations: 29.7 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.2697, allocations: 80.14 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.2697, allocations: 4.109 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.2698, allocations: 13.72 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2699, allocations: 314.8 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.2699, allocations: 8 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.2699, allocations: 0 / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.2699, allocations: 12.86 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.2699, allocations: 0 / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.935e-05/0.27, allocations: 29.7 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.27, allocations: 12.08 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.27, allocations: 3.938 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.27, allocations: 4 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.946e-05/0.27, allocations: 3.938 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.27, allocations: 0 / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.656e-06/0.27, allocations: 3.938 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.27, allocations: 0 / 1.218 GB, free: 12.7 MB / 0.9669 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 6.805e-05/0.2701, allocations: 109.8 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.2701, allocations: 0 / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.533e-05/0.2702, allocations: 48.75 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2702, allocations: 0 / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2702, allocations: 0 / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-06/0.2702, allocations: 0 / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.687e-05/0.2703, allocations: 141.7 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2703, allocations: 4 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.054e-05/0.2703, allocations: 3.938 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.2703, allocations: 0 / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.2703, allocations: 7.922 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2703, allocations: 0 / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2703, allocations: 4.031 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.484e-05/0.2704, allocations: 61.08 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.2704, allocations: 77.11 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.2704, allocations: 3.938 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.067e-05/0.2704, allocations: 3.984 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.2704, allocations: 4 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.2704, allocations: 0 / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.047e-05/0.2705, allocations: 79.31 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2705, allocations: 0 / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001814/0.2707, allocations: 15.94 kB / 1.219 GB, free: 12.05 MB / 0.9669 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.0004177/0.2711, allocations: 0.6163 MB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.706e-05/0.2711, allocations: 4 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2711, allocations: 4 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.727e-06/0.2711, allocations: 3.984 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.2713, allocations: 4 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.2715, allocations: 110.6 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.2718, allocations: 0.673 MB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.447e-05/0.2718, allocations: 7.984 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.425e-05/0.2718, allocations: 11.38 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of SimCode: time 7.71e-07/0.2718, allocations: 0 / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.294, allocations: 1.14 MB / 1.221 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.853/7.147, allocations: 13.03 kB / 1.221 GB, free: 9.445 MB / 0.9669 GB " [Timeout remaining time 293] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.358741380005085]