Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001164/0.001164, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.001402/0.001402, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.9046/0.9046, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.762/1.762, allocations: 377.9 MB / 0.6221 GB, free: 8.66 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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.622e-05, allocations: 10.28 kB / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001056/0.001072, allocations: 0.5954 MB / 0.9816 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003441/0.001417, allocations: 167.4 kB / 0.9818 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.287e-05/0.001429, allocations: 4 kB / 0.9818 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.001444, allocations: 0 / 0.9818 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.114e-06/0.001451, allocations: 0 / 0.9818 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.001793, allocations: 54.39 kB / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 3.957e-05/0.001833, allocations: 0 / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.001869, allocations: 7.984 kB / 0.9818 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.253e-05/0.001892, allocations: 0 / 0.9818 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.93e-05/0.001911, allocations: 0 / 0.9818 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.00192, allocations: 0 / 0.9818 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.002058, allocations: 55.88 kB / 0.9819 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.00207, allocations: 4 kB / 0.9819 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.365e-05/0.002084, allocations: 7.938 kB / 0.9819 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.002186, allocations: 35.94 kB / 0.9819 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002187, allocations: 0 / 0.9819 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.82e-07/0.002188, allocations: 0 / 0.9819 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.002192, allocations: 0 / 0.9819 GB, free: 1.594 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002174/0.00241, allocations: 250.3 kB / 0.9822 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.002446, allocations: 8.031 kB / 0.9822 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.667e-05/0.002473, allocations: 30.75 kB / 0.9822 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.966e-05/0.002493, allocations: 4.938 kB / 0.9822 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.133e-05/0.002544, allocations: 101.8 kB / 0.9823 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.002554, allocations: 4.375 kB / 0.9823 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-06/0.002561, allocations: 4.375 kB / 0.9823 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.16e-05/0.002642, allocations: 30.27 kB / 0.9823 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.002649, allocations: 192 / 0.9823 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.002656, allocations: 384 / 0.9823 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.002661, allocations: 4.125 kB / 0.9823 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.00268, allocations: 7.875 kB / 0.9823 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.002784, allocations: 128.7 kB / 0.9825 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.497e-05/0.002819, allocations: 14.58 kB / 0.9825 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.32e-05/0.002832, allocations: 8.953 kB / 0.9825 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003749/0.003207, allocations: 75.92 kB / 0.9826 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.003226, allocations: 30.56 kB / 0.9826 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.003227, allocations: 0 / 0.9826 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001176/0.003345, allocations: 41.62 kB / 0.9826 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.00337, allocations: 59.34 kB / 0.9827 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.46e-05/0.003395, allocations: 93.98 kB / 0.9828 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.003403, allocations: 25.7 kB / 0.9828 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.765e-05/0.003421, allocations: 84.08 kB / 0.9829 GB, free: 444 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.003443, allocations: 0 / 0.9829 GB, free: 444 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.003464, allocations: 13.72 kB / 0.9829 GB, free: 424 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.003534, allocations: 310.8 kB / 0.9832 GB, free: 104 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.003546, allocations: 0 / 0.9832 GB, free: 104 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-06/0.003552, allocations: 4 kB / 0.9832 GB, free: 100 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.162e-05/0.003574, allocations: 12.84 kB / 0.9832 GB, free: 84 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.003576, allocations: 0 / 0.9832 GB, free: 84 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.651e-05/0.003612, allocations: 41.7 kB / 0.9832 GB, free: 36 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.003623, allocations: 4 kB / 0.9833 GB, free: 32 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.003628, allocations: 0 / 0.9833 GB, free: 32 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.003638, allocations: 0 / 0.9833 GB, free: 32 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.357e-05/0.003671, allocations: 4 kB / 0.9833 GB, free: 28 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.003677, allocations: 3.938 kB / 0.9833 GB, free: 24 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-06/0.003685, allocations: 0 / 0.9833 GB, free: 24 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.003689, allocations: 0 / 0.9833 GB, free: 24 kB / 0.9323 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.08e-05/0.00375, allocations: 109.8 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-06/0.003755, allocations: 7.984 kB / 0.9834 GB, free: 15.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/0.003811, allocations: 44.67 kB / 0.9834 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.003811, allocations: 0 / 0.9834 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.003816, allocations: 3.938 kB / 0.9834 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.003819, allocations: 0 / 0.9834 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.693e-05/0.003876, allocations: 116.8 kB / 0.9835 GB, free: 15.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.003876, allocations: 0 / 0.9835 GB, free: 15.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-06/0.003883, allocations: 4 kB / 0.9835 GB, free: 15.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.003885, allocations: 0 / 0.9835 GB, free: 15.69 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.003889, allocations: 0 / 0.9835 GB, free: 15.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.00389, allocations: 0 / 0.9835 GB, free: 15.69 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.003893, allocations: 11.97 kB / 0.9835 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.223e-05/0.003935, allocations: 61.12 kB / 0.9836 GB, free: 15.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-06/0.003939, allocations: 0 / 0.9836 GB, free: 15.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.804e-06/0.003947, allocations: 3.938 kB / 0.9836 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.586e-06/0.00395, allocations: 4 kB / 0.9836 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.003961, allocations: 3.938 kB / 0.9836 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.003964, allocations: 3.984 kB / 0.9836 GB, free: 15.58 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.949e-05/0.003984, allocations: 79.22 kB / 0.9837 GB, free: 15.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.003984, allocations: 3.938 kB / 0.9837 GB, free: 15.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000132/0.004116, allocations: 15.94 kB / 0.9837 GB, free: 15.48 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 (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.0002701/0.004386, allocations: 0.6125 MB / 0.9843 GB, free: 14.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.181e-05/0.004438, allocations: 4 kB / 0.9843 GB, free: 14.84 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.004439, allocations: 0 / 0.9843 GB, free: 14.84 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.406e-06/0.004448, allocations: 7.938 kB / 0.9843 GB, free: 14.83 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.11e-05/0.004539, allocations: 7.062 kB / 0.9843 GB, free: 14.83 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002147/0.004753, allocations: 114.6 kB / 0.9844 GB, free: 14.68 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.035e-05/0.004784, allocations: 59.22 kB / 0.9845 GB, free: 14.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.233e-06/0.004791, allocations: 0 / 0.9845 GB, free: 14.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.47e-05/0.004806, allocations: 12.5 kB / 0.9845 GB, free: 14.59 MB / 0.948 GB Notification: Performance of SimCode: time 3.61e-07/0.004806, allocations: 0 / 0.9845 GB, free: 14.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.02137, allocations: 1.782 MB / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.746/6.768, allocations: 7.5 kB / 0.9863 GB, free: 12.93 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.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_Functions_Examples_BesselJ0.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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.957198852673173]