Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008665/0.0008665, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9285/0.9285, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.773/1.773, allocations: 377.9 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 4 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/2.042e-05, allocations: 10.22 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001961/0.001981, allocations: 1.452 MB / 0.9824 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003934/0.002374, allocations: 235.1 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.002402, allocations: 0 / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.002429, allocations: 3.938 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.89e-05/0.002468, allocations: 3.938 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.002806, allocations: 59.81 kB / 0.9827 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.741e-05/0.002863, allocations: 19.92 kB / 0.9827 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.176e-05/0.002945, allocations: 4 kB / 0.9827 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.674e-05/0.002992, allocations: 11.98 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.116e-05/0.003023, allocations: 8 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.003033, allocations: 4 kB / 0.9827 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.003146, allocations: 67.8 kB / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.003159, allocations: 4 kB / 0.9828 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.003177, allocations: 7.984 kB / 0.9828 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.0033, allocations: 59.84 kB / 0.9829 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003302, allocations: 3.938 kB / 0.9829 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003303, allocations: 0 / 0.9829 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.003307, allocations: 0 / 0.9829 GB, free: 0.6289 MB / 0.9323 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.0003231/0.00363, allocations: 274.2 kB / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.003669, allocations: 8.031 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.003696, allocations: 38.75 kB / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.941e-05/0.003716, allocations: 4.891 kB / 0.9832 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.889e-05/0.003784, allocations: 105.8 kB / 0.9833 GB, free: 144 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.003793, allocations: 384 / 0.9833 GB, free: 144 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.003802, allocations: 8.375 kB / 0.9833 GB, free: 136 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.003918, allocations: 42.23 kB / 0.9833 GB, free: 88 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.003925, allocations: 192 / 0.9833 GB, free: 88 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.003933, allocations: 8.375 kB / 0.9833 GB, free: 80 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.003938, allocations: 4.125 kB / 0.9833 GB, free: 76 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.004027, allocations: 39.89 kB / 0.9834 GB, free: 36 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.00429, allocations: 216.1 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.522e-05/0.004365, allocations: 30.56 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.004413, allocations: 24.84 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003247/0.004737, allocations: 79.91 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.004757, allocations: 38.5 kB / 0.9837 GB, free: 15.59 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.004759, allocations: 0 / 0.9837 GB, free: 15.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002126/0.004971, allocations: 85.58 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.004995, allocations: 51.41 kB / 0.9839 GB, free: 15.44 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.928e-05/0.005045, allocations: 93.86 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.005054, allocations: 25.83 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.005086, allocations: 96.09 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.005101, allocations: 7.891 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.005124, allocations: 13.7 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.628e-05/0.0052, allocations: 318.8 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.92e-05/0.005239, allocations: 11.98 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-05/0.005274, allocations: 15.98 kB / 0.9844 GB, free: 14.83 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.699e-05/0.005351, allocations: 48.81 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005352, allocations: 0 / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.734e-05/0.00545, allocations: 65.61 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.005462, allocations: 7.984 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.005467, allocations: 3.938 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.005476, allocations: 0 / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-05/0.005526, allocations: 8 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.00553, allocations: 0 / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.005552, allocations: 12.02 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.005556, allocations: 0 / 0.9846 GB, free: 14.68 MB / 0.948 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.944e-05/0.005606, allocations: 113.8 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.005618, allocations: 3.938 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.005737, allocations: 72.89 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.00574, allocations: 4 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.005744, allocations: 0 / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.005746, allocations: 0 / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.716e-05/0.005843, allocations: 125 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.005845, allocations: 3.984 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.00587, allocations: 8 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.005873, allocations: 7.922 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.005879, allocations: 4 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.00588, allocations: 0 / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005881, allocations: 0 / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.006002, allocations: 167.4 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-06/0.006011, allocations: 11.97 kB / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.006021, allocations: 3.984 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.609e-05/0.006057, allocations: 4 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.00609, allocations: 3.984 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.006093, allocations: 3.938 kB / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.645e-05/0.006119, allocations: 83.28 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006119, allocations: 0 / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001695/0.006289, allocations: 16 kB / 0.9852 GB, free: 13.98 MB / 0.948 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.0003757/0.006664, allocations: 0.7142 MB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.006786, allocations: 35.91 kB / 0.9859 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.006788, allocations: 4 kB / 0.9859 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.006827, allocations: 20.06 kB / 0.9859 GB, free: 13.19 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.007002, allocations: 8 kB / 0.9859 GB, free: 13.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.007321, allocations: 138.5 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.963e-05/0.007361, allocations: 63.28 kB / 0.9861 GB, free: 12.92 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.623e-05/0.007377, allocations: 0 / 0.9861 GB, free: 12.92 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.007405, allocations: 12.5 kB / 0.9861 GB, free: 12.91 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.007405, allocations: 0 / 0.9861 GB, free: 12.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.02135, allocations: 2.183 MB / 0.9883 GB, free: 10.85 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.657/6.678, allocations: 11.41 kB / 0.9883 GB, free: 10.84 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.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: 10.891691910102963]